Jibri Not working with iframe API

Hello,
I’ve installed jitsi and jibri on the same server and both work.
My problem is when i use jitsi iframe API with my domain and start recording it display ‘recording failed to start’
can anyone help me please.

Any logs you can share?

this is my log: log.0.txt (1.5 MB)

org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘meet.conceptcademy.com:5222’ failed because: meet.conceptcademy.com/197.140.11.70 exception: java.net.SocketTimeoutException: connect timed out

Do you have that port blocked by a firewall?

we already allowed port 5222 by firewall.
Our problem is that when we use recording in our self hosted jitsi,it’s working. But, when we use it in another application using Api Iframe,it’s not.

The above suggests a network problem between Jibri and your XMPP server.

how can i fix this?

The problem is Jibri call to APP.conference._room.isJoined() that not exposed through iframe API:

You can try to add this code to bypass this test, it works for me:

var APP = {
  conference: {
    _room: {
      isJoined: function() {
        return true;
      }
    }
  }
}