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

Attempting to configure an encoder with a bitrate of 0 should fail #816

Open
padenot opened this issue Jul 9, 2024 · 1 comment
Open

Comments

@padenot
Copy link
Collaborator

padenot commented Jul 9, 2024

https://w3c.github.io/webcodecs/#valid-videoencoderconfig

This errors out in Chromium, but not in Firefox, as things stand. Firefox considers 0 and not present as the same, Chrome rejects. I don't have a WebKit-based browser on this Linux desktop, so I'm not sure what it does.

Should it fail or no?

@youennf
Copy link
Contributor

youennf commented Jul 9, 2024

WebKit considers not present as equal to 0.

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

2 participants