How to extract Jibri Session ID?

How to Extract Jibri Session ID ? I have integrated Jibri along with Jitsi and video/audio recording is working fine.
But recording files(meetingname_timestamp.mp4) are by default storing under folder name of Jibri session ID.

In below log(Jicofo.log), My jirbi session ID = rtxcucvtwynfjmsi

hence My recordings are storing under the folder rtxcucvtwynfjmsi.

Jicofo 2020-10-15 05:20:04.597 INFO: [686] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Publishing new jibri-recording-status: <jibri-recording-status xmlns='http://jitsi.org/protocol/jibri' status='on' session_id='rtxcucvtwynfjmsi' initiator='optimisticenginesexecutewholly@conference.abc.com/585d6cef' recording_mode='file'/> in: optimisticenginesexecutewholly@conference.abc.com Jicofo 2020-10-15 05:21:30.949 INFO: [686] org.jitsi.jicofo.recording.jibri.JibriSession.log() Trying to stop: <iq to='jibribrewery@internal.auth.abc.com/jibri-nickname' id='mbbIf-1145083' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' action='stop'/></iq> Jicofo 2020-10-15 05:21:31.361 INFO: [686] org.jitsi.jicofo.recording.jibri.JibriSession.log() Updating status from JIBRI: <iq to='focus@auth.abc.com/focus1206954839874356' from='jibribrewery@internal.auth.abc.com/jibri-nickname' id='Zm9jdXNAYXV0aC5la3ljLnRyb29uZHguY29tL2ZvY3VzMTIwNjk1NDgzOTg3NDM1NgBoYzc0TC0xMjY2OTIAM9zcK3s0qxdB98IoR4KNcQ==' type='set'><jibri xmlns='http://jitsi.org/protocol/jibri' status='off'/></iq> for optimisticenginesexecutewholly@conference.abc.com Jicofo 2020-10-15 05:21:31.361 INFO: [686] org.jitsi.jicofo.recording.jibri.JibriSession.log() Got Jibri status update: Jibri jibribrewery@internal.auth.abc.com/jibri-nickname has status off and failure reason null, current Jibri jid is jibribrewery@internal.auth.ekyc.troondx.com/jibri-nickname Jicofo 2020-10-15 05:21:31.361 INFO: [686] org.jitsi.jicofo.recording.jibri.JibriSession.log() Jibri session ended cleanly, notifying owner and cleaning up session Jicofo 2020-10-15 05:21:31.362 INFO: [686] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Got jibri status off and failure null Jicofo 2020-10-15 05:21:31.362 INFO: [686] org.jitsi.jicofo.recording.jibri.JibriRecorder.log() Publishing new jibri-recording-status: <jibri-recording-status xmlns='http://jitsi.org/protocol/jibri' status='off' session_id='rtxcucvtwynfjmsi' initiator='optimisticenginesexecutewholly@conference.abc.com/585d6cef' recording_mode='file'/> in: optimisticenginesexecutewholly@conference.abc.com Jicofo 2020-10-15 05:21:31.362 INFO: [686] org.jitsi.jicofo.recording.jibri.JibriSession.log() Cleaning up current JibriSession

Is there an API or any other features to find the ongoing Jibri session ID part from looking in the log?

Thanks in advance.

Yes I am also stuck in same problem. Did you find the solution for it ? Please help me out if you find any solution

Thanks

Hello, Anybody had any solution for this ??

hi, you find how do it?

The finalize script gets the folder name as the first argument