Skip to content

Handle PLI#52

Open
TomFanella4 wants to merge 3 commits intolivekit:mainfrom
MainSquare:handle-pli
Open

Handle PLI#52
TomFanella4 wants to merge 3 commits intolivekit:mainfrom
MainSquare:handle-pli

Conversation

@TomFanella4
Copy link
Copy Markdown

@TomFanella4 TomFanella4 commented Apr 22, 2026

This PR replaces a TODO comment with a full implementation of keyframe request handling. When a PictureLossIndication or FullIntraRequest RTCP packet is received, the publisher track now sends a GstForceKeyUnit upstream event through the GStreamer pipeline to the encoder.

Requests are rate-limited to at most one every 500ms using an atomic CAS on lastKeyframeRequestNs, and audio tracks (Opus) are skipped entirely.

@TomFanella4 TomFanella4 reopened this Apr 27, 2026
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 27, 2026

CLA assistant check
All committers have signed the CLA.

@TomFanella4 TomFanella4 marked this pull request as ready for review April 27, 2026 17:00
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