Versions Compared

Key

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

...

ElementDescriptionMaximum size
{streamName}Stream name
{duration}

File duration, for MP4 recordings only


{startTime}Recording start time20 characters
{endTime}Recording end time20 characters
{startTimeMillis}Recording start time based on server clock20 characters
{endTimeMillis}Recording end time based on server clock20 characters
{sessionId}Session ID in BASE64 encoding60 characters
{mediaSessionId}Media session ID36 characters
{login}Login32 characters
{audioCodec}Audiocodec4 characters
{videoCodec}Videocodec4 characters

...

Sinca build 5.2.458, recording start taimetime, end time and duration time are calculated by stream frames time stamps. note that RTMP stream timestamps are always starting from 0, but WebRTC publisher usually sets full time stamp by its own clock for ever frame.

Code Block
themeRDark
stream_record_policy_template={streamName}-{startTime}-{endTime}-{duration}

Since build 5.2.635 it is possible to use start time and end time based on server clock

Code Block
themeRDark
stream_record_policy_template={streamName}-{startTimeMillis}-{endTimeMillis}

In general, stream time stamps are different from server clock time stamps.

To calculate recording times more preciosly, audio data should be buffered to keep synchronization. To do this, the following parameter is added

...