Skip to content

Add dependency descriptor forwarder state to RTPForwarderState - #1855

Merged
boks1971 merged 1 commit into
mainfrom
raja/forwarder-dd-frame-number
Oct 12, 2026
Merged

boks1971 merged 1 commit into
mainfrom
raja/forwarder-dd-frame-number

Conversation

@boks1971

Copy link
Copy Markdown
Contributor

Why

livekit/livekit#4987 forwards the dependency descriptor to VP8 simulcast subscribers. The frame numbers it sends must never go back, because Chrome drops a key frame older than the last structure it received. On migration the new node does not know the last number sent, so a subscriber can wait one key frame cycle.

Change

  • RTPForwarderState.dependency_descriptor_forwarder (field 9), a new DependencyDescriptorForwarderState message.
  • It has one field, ext_last_frame_number: the highest extended frame number sent to the subscriber.
  • A node that does not set it sends nothing, and the new node falls back to the publisher's numbers, as today.

The livekit change that fills and seeds it follows after this merges.

🤖 Generated with Claude Code

Carries the last dependency descriptor frame number a forwarder sent, so a
migrated subscriber's frame numbers continue.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@changeset-bot

changeset-bot Bot commented Oct 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8f168e1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
github.com/livekit/protocol Patch
@livekit/protocol Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@boks1971
boks1971 merged commit 9bb708c into main Oct 12, 2026
9 checks passed
@boks1971
boks1971 deleted the raja/forwarder-dd-frame-number branch October 12, 2026 06:50
@github-actions github-actions Bot mentioned this pull request Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants