mirror of
https://github.com/livekit/livekit.git
synced 2026-11-11 14:27:57 +00:00
On mute the forwarder resyncs sequence numbers, timestamps and VP8 picture IDs, but DDForwarder kept its frame number offset. libwebrtc counts DD frames across all simulcast layers, so after a long mute the frame number sent on unmute jumped by more than half the 16 bit range. The subscriber took every frame as older than the last decoded one and dropped it, a black tile until the numbers wrapped past it again. Resync DDForwarder with the forwarder, and move the numbers to just after the last one sent when they jump too far ahead. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>