Transcriber leaving the call when moderator leaves, in recording scenario

Hi,

Consider the following scenario,

Moderator joins the meeting,
Participant joins the meeting as well.
Moderator starts recording of the meeting.
After recording has started, moderator initiates start subtitles as well.
transcriber joins the call.
Now moderator leaves the call,
Transcriber is also leaving the call.

This is an issue we have seen in october 2021 jicofo and jvb version of jitsi.

from the logs in prosody, I see that when the presence event type=unavaiable is sent to moderator, moderator also sents out the presence event type=unavaito jigasi user as well. Have given space to that one single message that is sent.

Feb 04 07:02:27 c2s55f69990d5a0	debug	Resource bound: jigasi@auth.<redacted>/66359c2b
Feb 04 07:02:27 c2s55f69990d5a0	debug	Sending[c2s]: <iq to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-230' type='result'>
Feb 04 07:02:27 focus.<redacted>:client_proxy	debug	NAT-ed stanza: from: jigasi@auth.<redacted>/66359c2b -> focus.<redacted>/jigasi@auth.<redacted>/66359c2b, to: focus.<redacted> -> focus@auth.<redacted>/focus
Feb 04 07:02:27 c2s55f69974ef50	debug	Sending[c2s]: <iq to='focus@auth.<redacted>/focus' id='YW9dc-235' from='focus.<redacted>/jigasi@auth.<redacted>/66359c2b' type='set'>
Feb 04 07:02:27 c2s55f69974ef50	debug	Received[c2s]: <iq to='focus.<redacted>/jigasi@auth.<redacted>/66359c2b' id='YW9dc-235' type='result'>
Feb 04 07:02:27 focus.<redacted>:client_proxy	debug	de-NAT-ed stanza: from: focus@auth.<redacted>/focus -> focus.<redacted>, to: focus.<redacted>/jigasi@auth.<redacted>/66359c2b -> jigasi@auth.<redacted>/66359c2b
Feb 04 07:02:27 c2s55f69990d5a0	debug	Sending[c2s]: <iq to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-235' from='focus.<redacted>' type='result'>
Feb 04 07:02:27 c2s55f69990d5a0	debug	Sending[c2s]: <presence from='jigasi@auth.<redacted>/66359c2b' id='YW9dc-237'>
Feb 04 07:02:27 c2s55f698d851a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/jitsi-38161gj' id='YW9dc-237' from='jigasi@auth.<redacted>/66359c2b'>
Feb 04 07:02:27 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-40' from='jigasi@auth.<redacted>/jitsi-38161gj'>
Feb 04 07:02:27 c2s55f69990d5a0	debug	Received[c2s]: <presence to='9338455176@conference.<redacted>/66359c2b' id='YW9dc-239'>
Feb 04 07:02:27 conference.<redacted>:muc	debug	no occupant found for 9338455176@conference.<redacted>/66359c2b; creating new occupant object for jigasi@auth.<redacted>/66359c2b
Feb 04 07:02:27 conference.<redacted>:jwt_verification	info	pre join: origin: table: 0x55f69990d5a0  stanza: <presence to='9338455176@conference.<redacted>/66359c2b' id='YW9dc-239' from='jigasi@auth.<redacted>/66359c2b'><x xmlns='http://jabber.org/protocol/muc'><password/></x><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' ver='/v9SsPgcxlLSkk+T7dy9qLMWRX0=' node='http://jitsi.org'/><nick xmlns='http://jabber.org/protocol/nick'>Transcriber</nick><stat value='Jigasi 1.1.0-g9a369e3-7' name='version'/><features xmlns='http://jabber.org/protocol/disco#info'><feature var='http://jitsi.org/protocol/jigasi'/><feature var='urn:xmpp:jingle:dtmf:0'/></features></presence>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' id='7M82P-3064' from='9338455176@conference.<redacted>/focus'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' from='9338455176@conference.<redacted>/f0e6c283'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' from='9338455176@conference.<redacted>/16396801'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' from='9338455176@conference.<redacted>/66688033'>
Feb 04 07:02:28 c2s55f69974ef50	debug	Sending[c2s]: <presence to='focus@auth.<redacted>/focus' id='YW9dc-239' from='9338455176@conference.<redacted>/66359c2b'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-239' from='9338455176@conference.<redacted>/66359c2b'>
Feb 04 07:02:28 conference.<redacted>:participant_meeting	info	jid: jigasi@auth.<redacted>/66359c2b, user_id: <nil>, user_agent_string: <nil>, platform: <nil>, display_name: Transcriber
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <message to='jigasi@auth.<redacted>/66359c2b' from='conferenceduration.<redacted>'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <message to='jigasi@auth.<redacted>/66359c2b' from='speakerstats.<redacted>'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <message to='jigasi@auth.<redacted>/66359c2b' from='9338455176@conference.<redacted>/66688033' type='groupchat'>
Feb 04 07:02:28 c2s55f69974ef50	debug	Received[c2s]: <iq to='9338455176@conference.<redacted>/66359c2b' id='7M82P-3090' type='set'>
Feb 04 07:02:28 conference.<redacted>:muc	debug	focus@auth.<redacted>/focus sent private iq stanza to 9338455176@conference.<redacted>/66359c2b (jigasi@auth.<redacted>/66359c2b)
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <iq to='jigasi@auth.<redacted>/66359c2b' id='amlnYXNpQGF1dGgudW5pdDAwMS5tdW0uYXAtc291dGgtMS5ub3V2ZWF1LWxhYnMuaW4vNjYzNTljMmIAN004MlAtMzA5MADZkhpcu88zmNci184WtM/6' from='9338455176@conference.<redacted>/focus' type='set'>
Feb 04 07:02:28 conference.<redacted>:muc	debug	jigasi@auth.<redacted>/66359c2b sent private iq stanza to 9338455176@conference.<redacted>/focus (focus@auth.<redacted>/focus)
Feb 04 07:02:28 c2s55f69974ef50	debug	Sending[c2s]: <iq to='focus@auth.<redacted>/focus' id='7M82P-3090' from='9338455176@conference.<redacted>/66359c2b' type='result'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' from='9338455176@conference.<redacted>/66688033'>
Feb 04 07:02:28 conference.<redacted>:muc	debug	jigasi@auth.<redacted>/66359c2b sent private iq stanza to 9338455176@conference.<redacted>/focus (focus@auth.<redacted>/focus)
Feb 04 07:02:28 c2s55f69974ef50	debug	Sending[c2s]: <iq to='focus@auth.<redacted>/focus' id='Zm9jdXNAYXV0aC51bml0MDAxLm11bS5hcC1zb3V0aC0xLm5vdXZlYXUtbGFicy5pbi9mb2N1cwBZVzlkYy0yNTYAT+QnySEb/oGBGyGoNgu2GQ==' from='9338455176@conference.<redacted>/66359c2b' type='set'>
Feb 04 07:02:28 c2s55f69974ef50	debug	Received[c2s]: <iq to='9338455176@conference.<redacted>/66359c2b' id='Zm9jdXNAYXV0aC51bml0MDAxLm11bS5hcC1zb3V0aC0xLm5vdXZlYXUtbGFicy5pbi9mb2N1cwBZVzlkYy0yNTYAT+QnySEb/oGBGyGoNgu2GQ==' type='result'>
Feb 04 07:02:28 conference.<redacted>:muc	debug	focus@auth.<redacted>/focus sent private iq stanza to 9338455176@conference.<redacted>/66359c2b (jigasi@auth.<redacted>/66359c2b)
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <iq to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-256' from='9338455176@conference.<redacted>/focus' type='result'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Received[c2s]: <presence to='9338455176@conference.<redacted>/66359c2b' id='YW9dc-258'>
Feb 04 07:02:28 conference.<redacted>:muc	debug	presence update for 9338455176@conference.<redacted>/66359c2b from session jigasi@auth.<redacted>/66359c2b
Feb 04 07:02:28 c2s55f69974ef50	debug	Sending[c2s]: <presence to='focus@auth.<redacted>/focus' id='YW9dc-258' from='9338455176@conference.<redacted>/66359c2b'>
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-258' from='9338455176@conference.<redacted>/66359c2b'>
Feb 04 07:02:28 conference.<redacted>:muc	debug	jigasi@auth.<redacted>/66359c2b sent private iq stanza to 9338455176@conference.<redacted>/focus (focus@auth.<redacted>/focus)
Feb 04 07:02:28 c2s55f69974ef50	debug	Sending[c2s]: <iq to='focus@auth.<redacted>/focus' id='Zm9jdXNAYXV0aC51bml0MDAxLm11bS5hcC1zb3V0aC0xLm5vdXZlYXUtbGFicy5pbi9mb2N1cwBZVzlkYy0yNjAAT+QnySEb/oGBGyGoNgu2GQ==' from='9338455176@conference.<redacted>/66359c2b' type='set'>
Feb 04 07:02:28 c2s55f69974ef50	debug	Received[c2s]: <iq to='9338455176@conference.<redacted>/66359c2b' id='Zm9jdXNAYXV0aC51bml0MDAxLm11bS5hcC1zb3V0aC0xLm5vdXZlYXUtbGFicy5pbi9mb2N1cwBZVzlkYy0yNjAAT+QnySEb/oGBGyGoNgu2GQ==' type='result'>
Feb 04 07:02:28 conference.<redacted>:muc	debug	focus@auth.<redacted>/focus sent private iq stanza to 9338455176@conference.<redacted>/66359c2b (jigasi@auth.<redacted>/66359c2b)
Feb 04 07:02:28 c2s55f69990d5a0	debug	Sending[c2s]: <iq to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-260' from='9338455176@conference.<redacted>/focus' type='result'>

Feb 04 07:03:13 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' type='unavailable' from='9338455176@conference.<redacted>/66688033'>

Feb 04 07:03:16 c2s55f69990d5a0	debug	Received[c2s]: <presence to='9338455176@conference.<redacted>/66359c2b' id='YW9dc-263'>
Feb 04 07:03:16 conference.<redacted>:muc	debug	presence update for 9338455176@conference.<redacted>/66359c2b from session jigasi@auth.<redacted>/66359c2b
Feb 04 07:03:16 c2s55f69974ef50	debug	Sending[c2s]: <presence to='focus@auth.<redacted>/focus' id='YW9dc-263' from='9338455176@conference.<redacted>/66359c2b'>
Feb 04 07:03:16 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-263' from='9338455176@conference.<redacted>/66359c2b'>
Feb 04 07:03:16 c2s55f69990d5a0	debug	Received[c2s]: <presence to='9338455176@conference.<redacted>/66359c2b' id='YW9dc-264' type='unavailable'>
Feb 04 07:03:16 conference.<redacted>:muc	debug	session jigasi@auth.<redacted>/66359c2b is leaving occupant 9338455176@conference.<redacted>/66359c2b
Feb 04 07:03:16 c2s55f69974ef50	debug	Sending[c2s]: <presence to='focus@auth.<redacted>/focus' id='YW9dc-264' type='unavailable' from='9338455176@conference.<redacted>/66359c2b'>
Feb 04 07:03:16 c2s55f69990d5a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/66359c2b' id='YW9dc-264' type='unavailable' from='9338455176@conference.<redacted>/66359c2b'>
Feb 04 07:03:16 conference.<redacted>:message_stats	debug	disconnect_datetime: occupant_jid: jigasi@auth.<redacted>/66359c2b
Feb 04 07:03:16 c2s55f69990d5a0	debug	Received[c2s]: <presence to='9338455176@conference.<redacted>/66359c2b' id='YW9dc-267' type='unavailable'>
Feb 04 07:03:16 c2s55f69990d5a0	debug	Sending[c2s]: <iq to='jigasi@auth.<redacted>/66359c2b' from='9338455176@conference.<redacted>/focus' type='error' id='YW9dc-270'>
Feb 04 07:03:16 c2s55f69990d5a0	debug	Sending[c2s]: <presence id='YW9dc-271' from='jigasi@auth.<redacted>/66359c2b' type='unavailable'>
Feb 04 07:03:16 c2s55f698d851a0	debug	Sending[c2s]: <presence to='jigasi@auth.<redacted>/jitsi-38161gj' id='YW9dc-271' from='jigasi@auth.<redacted>/66359c2b' type='unavailable'>
Feb 04 07:03:16 c2s55f69990d5a0	debug	c2s stream for jigasi@auth.<redacted>/66359c2b closed: session closed
Feb 04 07:03:16 c2s55f69990d5a0	debug	Destroying session for jigasi@auth.<redacted>/66359c2b (jigasi@auth.<redacted>)

Do you recommend to open an issue in github?

If I’m not mistaken, I believe transcriber stays in the meeting so long as one participant has it activated on their end. So, in essence, once Moderator activates transcription, it’s now available for all participants in the meeting. But participants don’t see transcription until they click the button on their end. Once participants click the button, even if the Moderator leaves, transcription will continue. This is how I understand it to work.

so if moderator activates transcription and leaves the meeting without recording started. the transcriber stays in the meeting, but if recording is on and moderator enables transcription and leaves, the transcriber leaves as well

No, not what I said.
If moderator activates transcription AND another participant in the meeting also turns on transcription on their own screen, so long as they have transcription going on, even if the Moderator leaves, transcription will continue.

That is correct.