Where we will read custom iq stanza response?

Hi Team,

we wanted to display jibri unavailability status beginning itself…as part of that server is sending IQ stanza

The server is sending the following response:

<body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" sid="48753a233fe">
   <iq xmlns="jabber:client" id="112be54b6b3:sendIQ" from="6561@conference.unit001.mum/focus" to="74977088_01747f6fdc8c355462e2@unit.mum/8OVLOQaW" type="error">
      <error type="wait">
         <resource-constraint xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
         <text xml:lang="en">all Jibris are busy</text>

since the response is driven by the server by default.

we are seeing the above response in the following request

<body xmlns="http://jabber.org/protocol/httpbind" rid="2394786657" sid="48753a233fe" />

can you please help me with the above request where we can capture the response in lib-jitsi-meet?

I think it goes in here: lib-jitsi-meet/JibriSession.js at e99f9936880d496c1a52b107063af26ae0391625 · jitsi/lib-jitsi-meet · GitHub

So if you listen for JitsiConferenceEvents.RECORDER_STATE_CHANGED, you will get notification for it.

@damencho this will work when the client initiates the recording and jibri are full… it will come to that error message which is fine.

my scenario is recording was initiated by the server since it was auto-recording when first participant joins… as part of that I got the response in that case it will not go to lib-jitsi-meet/JibriSession.js at e99f9936880d496c1a52b107063af26ae0391625 · jitsi/lib-jitsi-meet · GitHub

as its request is

<body xmlns="http://jabber.org/protocol/httpbind" rid="2394786657" sid="48753a233fe" />

it’s not a start recording request from the client… in this case where we can capture the response?

It will be a response to the iq you sent to jicofo … serverside, if that iq was not sent by the client it will not reach the client.

1 Like