...
Code Block | ||
---|---|---|
| ||
webm_java_writer_enable=false |
A separate folder for temporary files
While recording a stream, media data are written to a temporary file, then this file is copying to a recording file named according to template. Since build 5.2.963, it is possible to set a ceparate folder for temporary files using the following parameter
Code Block | ||
---|---|---|
| ||
record_tmp_dir=/tmp |
This allows, for example, to place temporary files to RAM drive to speed up recording process.
The folder to place temporary files must be writable by WCS process, so permissions must be set to flashphoner user. For example, if the temporary files folder is set to
Code Block | ||
---|---|---|
| ||
record_tmp_dir=/opt/wcs |
then permissions must be set to flashphoner
Code Block | ||||
---|---|---|---|---|
| ||||
sudo chown -R flashphoner:flashphoner /opt/wcs |
By default, all the temporary files are placed to /usr/local/FlashphonerWebCallServer/records folder.
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:
...