Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Video streams published by room participants can be recorded. To do this, 'record' parameter must be set to 'true' while publishing a stream:

...

Stream record files can be merged in chronological order using ffmpeg. To allow this,  when stream is created, stream timeshift relative to room creation time is specified with setTimeShift() method, by default:

Code Block
languagejs
themeRDark
stream.setTimeShift(new Date().getTime() - room.getCreateDate().getTime());

This method can be used from client web application.

on server side. Stream record files written by this way are merged with command (two participants example)

...