Skip to content

webrtc: REMB-based livestream bitrate controller#38189

Draft
stefpi wants to merge 4 commits into
masterfrom
webrtc-bitrate-controller
Draft

webrtc: REMB-based livestream bitrate controller#38189
stefpi wants to merge 4 commits into
masterfrom
webrtc-bitrate-controller

Conversation

@stefpi

@stefpi stefpi commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Replace the packet-loss heuristic in LivestreamBitrateController with a controller driven by the browser's Receiver Estimated Maximum Bitrate (REMB). Monkey-patch RTCRtpSender to capture the REMB feedback per sender, then step the encoder bitrate down when the estimate drops below the current level and probe back up after a stable period.

Replace the packet-loss heuristic in LivestreamBitrateController with a
controller driven by the browser's Receiver Estimated Maximum Bitrate
(REMB). Monkey-patch RTCRtpSender to capture the REMB feedback per sender,
then step the encoder bitrate down when the estimate drops below the
current level and probe back up after a stable period.
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Process replay diff report

Replays driving segments through this PR and compares the behavior to master.
Please review any changes carefully to ensure they are expected.

✅ 0 changed, 66 passed, 0 errors

@stefpi stefpi marked this pull request as ready for review June 18, 2026 00:01
@stefpi stefpi marked this pull request as draft June 19, 2026 16:36
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.

1 participant