Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTCRtpEncodingParameters.scaleResolutionDownTo #396

Open
henbos opened this issue Sep 16, 2024 · 0 comments
Open

RTCRtpEncodingParameters.scaleResolutionDownTo #396

henbos opened this issue Sep 16, 2024 · 0 comments

Comments

@henbos
Copy link

henbos commented Sep 16, 2024

WebKittens

@youennf

Title of the proposal

WebRTC extensions, section scaleResolutionDownTo

URL to the spec

https://w3c.github.io/webrtc-extensions/#dom-rtcrtpencodingparameters-scaleresolutiondownto

URL to the spec's repository

No response

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

mozilla/standards-positions#1071

WebKit Bugzilla URL

No response

Radar URL

No response

Description

This adds a new encoding parameter to WebRTC allowing the app to say which resolution it wants to send in absolute terms ("send 360p") instead of relative terms ("downscale by 2" + frame is 720p), avoiding race conditions when the track dynamically changes size.

Example use case is sending {360p, 720p} simulcast and when dynamically disabling the 720p layer also adjusting the track size to 360p in order to avoid expensive effects processing in 720p when only 360p is sent.

See https://www.w3.org/2024/08/27-webrtc-minutes.html#t06 where this was discussed and approved by the W3C WebRTC WG.

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

No branches or pull requests

1 participant