...
Element | Description | Maximum size |
---|---|---|
{streamName} | Stream name | |
{startTime} | Recording start time (not stream creation time) | 20 characters |
{endTime} | Recording end time | 20 characters |
{sessionId} | Session ID in BASE64 encoding | 60 characters |
{mediaSessionId} | Media session ID | 36 characters |
{login} | Login | 32 characters |
{audioCodec} | Audiocodec | 4 characters |
{videoCodec} | Videocodec | 4 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 | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
test-1553577643961-1553577663988.mp4 test-1553577663989-1553577683997.mp4 test-1553577683997-1553577701626.mp4 ... |
Record files handling script
...