Versions Compared

Key

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

...

The frame which raise an exception and subsequent frames will not be recorded until keyframe is received and parsed successfully.

Updating the MP4 container atoms with actual recording data

Since 5.2.1990 it is possible to update MP4 atoms data on the fly

Code Block
themeRDark
mp4_container_moov_first_reserve_space=true
mp4_container_write_header_on_fly=true

In this case MP4 atoms data are updating periodically according to actual recording media data. An atoms update interval is set in seconds

Code Block
themeRDark
mp4_container_write_header_on_fly_interval=5

This feature allows to play the recording file even if the recording was interrupted due to some error. The media data in such MP4 file will be available to play according to MP4 atoms.

Client side

If stream recording is enabled on the server, whether the stream is recorded or not is determined by the value of record parameter passed into the createStream function in the script of the publisher client:

...