Janus videocall plugin handles recording file when disconnected

85 views
Skip to first unread message

Hiếu Nguyễn Công

unread,
Jul 11, 2021, 10:00:32 PM7/11/21
to meetecho-janus
Hi everyone,

When I specify "filename" property with videocall plugin, this will be "base path/filename to use for the recording" according to the documentation.

But how would Janus handle that recording file when my connection to Janus server is drop/down and I am able to reconnect to Janus after a short period of time, that my Janus session is still alive?

And is there any difference between the ways Janus would handle that recording file when my Janus session is closed or when my Janus session is still alive?

I will be grateful for any answer

ahmet...@gmail.com

unread,
Jul 13, 2021, 2:29:38 AM7/13/21
to meetecho-janus
Hi,

I'm not sure about VideoCall plugin but with VideoRoom plugin each participant's audio and video streams are recorded separately (*-audio.mjr and *-video.mjr) and the recording of a participant stops when he's disconnected. If he reconnects, a new set of mjr files is created with the new connection handle.

The tough question is how to decide when to process the recording files so that they can be viewed together in a single playable video file (e.g. mp4 file).

For this, you can develop a background task watching the number of participants in a video room and start the video processing after the number of participants is zero for a pre-defined time period (e.g. 5 minutes).
Reply all
Reply to author
Forward
0 new messages