Update the recording file name in Jibri


#1

Hi @damencho,

Is it possible to customize the recording filename in Jibri? I want to combine some unique ID with the current format like roomname_timestamp_uniqueID. Is it possible to send ID from jitsi to jibri?
Or else is it possible somehow I can get the timestamp so I could store it for further reference?


#2

Can’t change the filename (without modifying the source) I’m afraid. Its format is defined here


#3

Is it possible to send ID from jitsi to jibri and then use that value in the mentioned file? I’ll try to modify the source.


#4

That’s not currently possible, no.


#5

Okay. need to think for another way. thank you @bbaldino


#6

u can use the finalize_recording.sh to update the filename…


#7

Yeah that’s a good idea! The finalize script gets invoked with the path to the directory where the recording is stored and you can do whatever you want there.


#8

Thanks @Tanvir & @bbaldino,

We already did this. But problem is, we also need new file name at Jitsi server, Jitsi and Jibri both are running on separate server. So using finalize_script we can give new name, but How we can know this name at Jitsi side?

Thanks
Abhijit


#9

What is it you’re trying to achieve? Why do you want to know the filename?


#10

u can run a micro service using node.js to achieve it or if you have a existing rest api then just include it…not sure that’s what i would do…