Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeRDark
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
languagejs
themeRDark
{
  ...,
  "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
languagebash
themeRDark
lscpu | grep -E "^CPU\(s\)"

Multiple recording data callback

...