Versions Compared

Key

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

...

ElementDescriptionMaximum size
{streamName}Stream name
{startTime}Recording start time (not stream creation time)20 characters
{endTime}Recording end time20 characters
{sessionId}Session ID in BASE64 encoding60 characters
{mediaSessionId}Media session ID36 characters
{login}Login32 characters
{audioCodec}Audiocodec4 characters
{videoCodec}Videocodec4 characters

...

specifies a fragment duration as 10 seconds. Recording fragments are numbered continuosly from 1, the last rcorded fragment is not numbered.

If recording file name template contains {startTime} element, fragments will not be numbered, and recording fragment start timestamp will be inserted into file name. If template contains {endTime} element, recording fragment end timestamp will be inserted into file name. For example, if the following settings are used

Code Block
themeRDark
record_rotation=20
stream_record_policy=template
stream_record_policy_template={streamName}-{startTime}-{endTime}

the test stream recording fragments will be named as follows

Code Block
themeRDark
test-1553577643961-1553577663988.mp4
test-1553577663989-1553577683997.mp4
test-1553577683997-1553577701626.mp4
...

Record files handling script

...