Skip to content

feat: hint video tracks as motion, detail or text - #588

Merged
devopvoid merged 1 commit into
mainfrom
feat/video-content-hint
Nov 11, 2026
Merged

devopvoid merged 1 commit into
mainfrom
feat/video-content-hint

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Adds VideoContentHint (DEFAULT, MOTION, DETAIL, TEXT) on VideoTrack and LocalVideo, mapped to WebRTC's set_content_hint. It decides whether senders keep the frame rate or the resolution under load, and can be changed while sending, without renegotiation. A camera switch keeps the hint.

setContentHint throws when called from within a sink callback, where the sender's reconfiguration would deadlock on the broadcaster lock.

VideoTrack and LocalVideo take a VideoContentHint, also while sending and without renegotiating. A camera switch keeps it.
@devopvoid
devopvoid force-pushed the feat/video-content-hint branch from b881a97 to 1d5a7b5 Compare November 11, 2026 17:26
@devopvoid
devopvoid merged commit d3004af into main Nov 11, 2026
10 checks passed
@devopvoid
devopvoid deleted the feat/video-content-hint branch November 11, 2026 18:33
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