...
It is necessary to take into account the length of the absolute file name (including folder path) that will be formed when copying record file. If the absolute name of the target file exceeds 255 characters limit, copy command will fail with error, so the handling script will not work as expected.
Adjusting record audio sample rate
By default, audio track is recorded with sample rate 44.1 kHz. This value can be changed using the following parameter if necessary
Code Block | ||||
---|---|---|---|---|
| ||||
record_audio_codec_sample_rate=48000 |
In this case, record audio sample rate will be set to 48 kHz.
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:
...