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.maxFramerate - off spec zero value #16272

Merged
merged 2 commits into from
May 17, 2022

Conversation

hamishwillee
Copy link
Contributor

@hamishwillee hamishwillee commented May 13, 2022

FF101 added support for RTCRtpEncodingParameters.maxFramerate, which we updated in #16200

This is supposed to be valid for a 0 value, but FF instead sets this as "no limit on frame rate". This is because the upstream libwebrtc library used will crash if a 0 value is passed (see https://bugzilla.mozilla.org/show_bug.cgi?id=1611957#c10)

To fix this I have marked the API as "partial" and added a note.

Related docs work can be tracked in mdn/content#15470

@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label May 13, 2022
@hamishwillee
Copy link
Contributor Author

@queengooborg When you have a moment :-)

@github-actions github-actions bot added the linter Issues or pull requests regarding the tests / linter of the JSON files. label May 17, 2022
@@ -54,7 +54,7 @@ describe('spec_url data', () => {
// Remove if it is in the main ECMA spec
'https://tc39.es/proposal-hashbang/out.html',

// Remove if https://github.com/w3c/browser-specs/pull/605 is merged
// Remove if https://github.com/w3c/webrtc-extensions/issues/108 is closed
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI what will happen here is that the parameter will move to the supported spec. So when that changes we'd remove the exception and change the spec.

@hamishwillee
Copy link
Contributor Author

@queengooborg Can you please review this when you have a chance.

@queengooborg queengooborg merged commit 004e42d into mdn:main May 17, 2022
@hamishwillee hamishwillee deleted the RTCRtpEncodingParameters_maxfps branch May 20, 2022 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API linter Issues or pull requests regarding the tests / linter of the JSON files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants