w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.

Home Page:https://w3c.github.io/webcodecs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

padenot opened this issue · comments

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?

WebKit considers not present as equal to 0.