Versions Compared

Key

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

...

  • height
  • width (if set and not equal to 0)
  • codec
  • bitrate
  • fps
  • gop
  • profile
  • level
  • codecImpl

Video quality profiles sorting

Since build 5.2.1663, video quality profiles will be sorted in the order set in /usr/local/FlashphonerWebCallServer/conf/wcs_sfu_bridge_profiles.yml file. For example, if the profiles described like this

Code Block
languageyml
themeRDark
profiles:
  240:
    height: 240
    bitrate: 500
    codec: h264
    gop: 60
    fps: 30

  480:
    height: 480
    bitrate: 1000
    codec: h264
    gop: 60
    fps: 30

  720:
    height: 720
    bitrate: 1500
    codec: h264
    gop: 60
    fps: 30

  1080:
    height: 1080
    bitrate: 3000
    codec: h264
    gop: 60
    fps: 30

a client will receive a profiles list ordered like

Code Block
themeRDark
240, 480, 720, 1080

If there are two profiles with the same name in the setup, an undefined behavior occurs. To resolve it, server will use only the last profile with the same name.

Quick manual on testing

1. For test we use:

...