Skip to content

webrtcsink: fix calculation of fec_ratio with multiple encoders

In this context, the bitrate variable is for all encoders, but the max_bitrate field is per encoder. To calculate a proper FEC ratio, we need to scale max_bitrate to the number of encoders.

  • Also clamp the fec-percentage that we set on the transceiver for extra safety

Merge request reports

Loading