...
Note that if the recording was stopped due to space limit, a post processing script still will be launched for the recording file.
Recording stopping on errors
Since build 5.2.1236 the parameters were added to define an errors handling while recording a stream. By default, stream recording will be stopped if 3 errors occur during 60 minutes:
Code Block | ||
---|---|---|
| ||
file_recorder_error_interval=60
file_recorder_max_errors_per_interval=3 |
The frame which raise an exception and subsequent frames will not be recorded until keyframe is received and parsed successfully.
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:
...