Files
lukasIOandClaude Fable 5.2 3d41633a28 sfu: zero mutable header extensions before FlexFEC recovery
libwebrtc generates FlexFEC before it writes abs-send-time and the
transport-wide sequence number, so the repair packet covers them as
zeros. The upstream decoder XORed the received packets with the real
values. When one packet of a group has two-byte extension headers, those
bytes are at other offsets and corrupt other extensions of the recovered
packet, such as the dependency descriptor.

The decoder now zeroes these extensions in each media packet before the
XOR, as the libwebrtc receiver does. The buffer passes the negotiated
IDs on bind.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 14:03:46 +01:00
..
2023-07-27 16:43:19 -07:00