Repository navigation
sfu: send padding in the slot of a dropped out-of-order packet - #4979
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔍 Devin Review: 1 flag
Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
paulwe
approved these changes
Oct 10, 2026
On a gap the RTP munger gives the missing sequence numbers outgoing slots. If a late packet then arrives and is dropped, nothing is ever sent in its slot, and a subscriber that finds frame references by sequence number stalls until a key frame. The forwarder now flags such drops, and the downtrack sends a one byte padding only packet in the slot. Co-Authored-By: Claude Opus 5.5 <[email protected]>
boks1971
force-pushed
the
raja/pad-dropped-slot
branch
from
October 11, 2026 05:48
90b4fd2 to
56fdc63
Compare
eleboucher
pushed a commit
to eleboucher/homelab
that referenced
this pull request
Oct 14, 2026
…9 ➔ v1.13.10) (#2338) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/livekit/livekit-server](https://github.com/livekit/livekit) | patch | `v1.13.9` → `v1.13.10` | --- ### Release Notes <details> <summary>livekit/livekit (docker.io/livekit/livekit-server)</summary> ### [`v1.13.10`](https://github.com/livekit/livekit/releases/tag/v1.13.10) [Compare Source](livekit/livekit@v1.13.9...v1.13.10) ##### Changed - sfu: forward the dependency descriptor for VP8 simulcast ([#​4987](livekit/livekit#4987)) - sfu: keep VP8 descriptor frame numbers across migration ([#​4989](livekit/livekit#4989)) - sfu: filter VP9 and AV1 simulcast temporal layers with the dependency descriptor ([#​4991](livekit/livekit#4991)) - sfu: filter VP8 temporal layers by frame when the dependency descriptor is sent ([#​4976](livekit/livekit#4976)) - sfu: switch VP8 temporal layers up with the dependency descriptor ([#​4974](livekit/livekit#4974)) - sfu: pad the slot of a filtered packet that follows a sequence number gap ([#​4983](livekit/livekit#4983)) - sfu: send padding in the slot of a dropped out-of-order packet ([#​4979](livekit/livekit#4979)) - sfu: parse VP8 and VP9 payload descriptors without an allocation ([#​4981](livekit/livekit#4981)) - DownTrack: arm key frame requester timer only while a layer lock is pending ([#​4980](livekit/livekit#4980)) - turn: refuse TCP relays and limit relays to this host to media ports ([#​4992](livekit/livekit#4992)) - agent endpoints: address an unnamed deployment as "\_" ([#​4997](livekit/livekit#4997)) - Add OSS Scanner build image and threat model ([#​4995](livekit/livekit#4995)) - Update golang Docker tag to v1.27.1 ([#​4985](livekit/livekit#4985)) - Update alpine Docker tag to v3.24.2 ([#​4984](livekit/livekit#4984)) - Update module github.com/maxbrunsfeld/counterfeiter/v6 to v6.13.0 ([#​4915](livekit/livekit#4915)) ##### Fixed - Send NACKs when processing RTX packets ([#​5000](livekit/livekit#5000)) - sfu: send padding-only packets with no payload ([#​4993](livekit/livekit#4993)) - rtc: release timed out pending tracks at the pending track limit ([#​4998](livekit/livekit#4998)) - Fix nil pointer dereference in IOInfoService.UpdateIngressState ([#​4806](livekit/livekit#4806)) - rtc: keep update cache eviction order when listing recent disconnects ([#​4975](livekit/livekit#4975)) - fix(cli): return non-zero exit status on command errors ([#​4888](livekit/livekit#4888)) - Disable AV1 for Firefox clients before 157 ([#​4962](livekit/livekit#4962)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNTEuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.erwanleboucher.dev/eleboucher/homelab/pulls/2338
hbjydev
pushed a commit
to hbjydev/phoebe
that referenced
this pull request
Oct 20, 2026
…v1.13.10) (#884) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/livekit/livekit-server](https://github.com/livekit/livekit) | patch | `v1.13.9` → `v1.13.10` | --- ### Release Notes <details> <summary>livekit/livekit (docker.io/livekit/livekit-server)</summary> ### [`v1.13.10`](https://github.com/livekit/livekit/releases/tag/v1.13.10) [Compare Source](livekit/livekit@v1.13.9...v1.13.10) ##### Changed - sfu: forward the dependency descriptor for VP8 simulcast ([#​4987](livekit/livekit#4987)) - sfu: keep VP8 descriptor frame numbers across migration ([#​4989](livekit/livekit#4989)) - sfu: filter VP9 and AV1 simulcast temporal layers with the dependency descriptor ([#​4991](livekit/livekit#4991)) - sfu: filter VP8 temporal layers by frame when the dependency descriptor is sent ([#​4976](livekit/livekit#4976)) - sfu: switch VP8 temporal layers up with the dependency descriptor ([#​4974](livekit/livekit#4974)) - sfu: pad the slot of a filtered packet that follows a sequence number gap ([#​4983](livekit/livekit#4983)) - sfu: send padding in the slot of a dropped out-of-order packet ([#​4979](livekit/livekit#4979)) - sfu: parse VP8 and VP9 payload descriptors without an allocation ([#​4981](livekit/livekit#4981)) - DownTrack: arm key frame requester timer only while a layer lock is pending ([#​4980](livekit/livekit#4980)) - turn: refuse TCP relays and limit relays to this host to media ports ([#​4992](livekit/livekit#4992)) - agent endpoints: address an unnamed deployment as "\_" ([#​4997](livekit/livekit#4997)) - Add OSS Scanner build image and threat model ([#​4995](livekit/livekit#4995)) - Update golang Docker tag to v1.27.1 ([#​4985](livekit/livekit#4985)) - Update alpine Docker tag to v3.24.2 ([#​4984](livekit/livekit#4984)) - Update module github.com/maxbrunsfeld/counterfeiter/v6 to v6.13.0 ([#​4915](livekit/livekit#4915)) ##### Fixed - Send NACKs when processing RTX packets ([#​5000](livekit/livekit#5000)) - sfu: send padding-only packets with no payload ([#​4993](livekit/livekit#4993)) - rtc: release timed out pending tracks at the pending track limit ([#​4998](livekit/livekit#4998)) - Fix nil pointer dereference in IOInfoService.UpdateIngressState ([#​4806](livekit/livekit#4806)) - rtc: keep update cache eviction order when listing recent disconnects ([#​4975](livekit/livekit#4975)) - fix(cli): return non-zero exit status on command errors ([#​4888](livekit/livekit#4888)) - Disable AV1 for Firefox clients before 157 ([#​4962](livekit/livekit#4962)) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjcuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjE2Ny41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/884
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #4976.
Problem
PacketDroppedrolls back only the newest sequence number.What that costs depends on how the subscriber finds frame references:
Three drops leave such a hole:
ErrFilteredVP8OutOfOrderfrom theVP8DDmungerFix
padDroppedSlot.Not covered:
Tests
TestForwarderPadDroppedSlot: a gap, then the late packet on a filtered layer. Checks the flag, the sequence number and the timestamp. Checks that an in-order drop still rolls back.🤖 Generated with Claude Code