Skip to content

8726ff8

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Nov 11:32

fix(rtc): Shed audio redundancy once it takes a quarter of a cut path

While the video target is cut, RED drops a payload a tick once audio takes
more than AUDIO_SHARE of what transport-cc reports delivered. At 0.5 that
never came on the narrow stretch that needs it: RED at a depth of two runs
near 400 kbit/s, and on a 1.5 Mbit/s link transport-cc reports about
0.9 Mbit/s delivered, so audio stayed under half until the link widened
and the redundancy was shed, if at all, as the link returned. A quarter
sheds it as the link narrows (390 of 1283 kbit/s, then 264 of 716) and
brings it back as the link returns.

congestion_step webrtc, 20 -> 1.5 Mbit/s for 5 s, 8 Mbit/s video,
6 interleaved pairs, narrow stretch:

0.5 0.25
frames decoded 4-8 fps 21-30 fps
picture age p50 1647-1973 ms 1299-1481 ms
picture age max 2847-4373 ms 2757-2957 ms
frozen 1495-2995 ms 1395-1495 ms
audio concealed 1657-1739 ms 1657-1703 ms

At 10 -> 4 Mbit/s (4 pairs) neither sheds anything: audio stays under a
quarter of the delivery there. webrtc_cut, webrtc_loss_recovery and
slow_page webrtc pass (6 cases, 96 checks).

For #620.