Skip to content

Adding support for Frame Metadata#664

Open
chenosaurus wants to merge 3 commits into
mainfrom
dc/features/frame_metadata
Open

Adding support for Frame Metadata#664
chenosaurus wants to merge 3 commits into
mainfrom
dc/features/frame_metadata

Conversation

@chenosaurus
Copy link
Copy Markdown
Contributor

  • Add publishing & parsing support for Frame Metadata (packet trailers)
  • Add examples/local_video to demonstrate usage.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

⚠️ 1 issue in files not directly in the diff

⚠️ Track SID not updated after local_track_republished, causing stale track.sid (livekit-rtc/livekit/rtc/room.py:744-748)

When the local_track_republished handler fires during a full reconnect, it updates republished._info (the publication info) with the new server-assigned SID but does not update republished._track._info.sid. During initial publish_track (livekit-rtc/livekit/rtc/participant.py:768), the track SID is explicitly synced with track._info.sid = track_publication.sid. After a full reconnect, publication.sid returns the new SID but publication.track.sid still returns the old SID. This can cause a KeyError if user code passes the stale track.sid to unpublish_track(), since the publication dict is now keyed by the new SID.

View 5 additional findings in Devin Review.

Open in Devin Review

Copy link
Copy Markdown
Contributor

@cloudwebrtc cloudwebrtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants