...
By default, 4 threads are used to work with stream recording. This number can be increased if necessary. Note that it is not recommended to set recording threads number more than CPUs number on the server.
VP8 streams recording to webm container
Since build 5.2.905 java implementatiion is used to record VP8 streams to webm container
Code Block | ||
---|---|---|
| ||
webm_java_writer_enable=true |
A cluster duration (in milliseconds) and size (in bytes) limits settings are available for this implementation. A stream data will be flushed to a recording file when one of the limits is reached
Code Block | ||
---|---|---|
| ||
webm_cluster_duration_limit=100000
webm_cluster_size_limit=131072 |
If some issues occur, the native code recorder implementation based on ffmpeg may be enabled
Code Block | ||
---|---|---|
| ||
webm_java_writer_enable=false |
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:
...