...
Code Block | ||||
---|---|---|---|---|
| ||||
LOGGER_ENABLED=true |
...
Multi-threaded encoding while mixing multiple stream recordings
Since build 5.2.1089 multithreaded multi-threaded encoding can be enabled while mixing multiple stream recordings. To enable this feature, add the following parameter to /usr/local/FlashphonerWebCallServer/conf/offline_mixer.json file
...
Multiple stream recordings are mixed a twice faster when multithreaded multi-threaded encoding is enabled comparing to singe-threaded one.
Threads count to use for multi-threaded encoding
Since build 5.2.1523 threads count for multi-threaded encoding can be set up. By default, threads count is equal to a half of CPUs available. For example, on 12 vCPU server 6 threads will be used
Code Block | ||||
---|---|---|---|---|
| ||||
{
...,
"threadCount": 6
} |
If mixing takes a long time, threads count may be increased, but it is not recommended to set it more than CPUs count, which can be detected by the following command
Code Block | ||||
---|---|---|---|---|
| ||||
lscpu | grep -E "^CPU\(s\)" |
Stream name displaying in mixed multiple record
By default, every stream name is displayed in mixed multiple record. This may be disabled if necessary by the following setting in /usr/local/FlashphonerWebCallServer/conf/offline_mixer.json
file
Code Block | ||||
---|---|---|---|---|
| ||||
{
...,
"mixerDisplayStreamName": false
} |
When RoomApi conference streams are recorded, stream name includes a room name and a participant stream id, for example room-1882a6-bob-037c
. Since build 5.2.1642 room name may be excluded by the following settings
Code Block | ||||
---|---|---|---|---|
| ||||
{
...,
"mixerDisplayStreamName": true,
"mixerTextDisplayRoom": false,
"labelReplaceRegex": "\\w+-\\w+-([^\\-]+)-\\w+",
"labelReplaceWith":""
} |
Where:
- labelReplaceRegex - a regular expression to find items to be replaced in a stream name
- labelReplaceWith - string to replace items found, empty string will exclude the items
In this case, for the example above, only participant name bob
will be displayed.
Characters decoding in stream name
Since build 5.2.1751 a characters encoded at client side by encodeURIComponent() may be decoded during mixing a multiple record
Code Block | ||||
---|---|---|---|---|
| ||||
{
...,
"mixerDecodeStreamName": true
} |
In this case a decoded characters available in the font used will be displayed, or a similar characters.
Multiple recording data callback
...