-
Notifications
You must be signed in to change notification settings - Fork 29
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
[TrackConfiguration] Why not reuse WebCodec's configuration dictionaries? #98
Comments
I considered re-using The former is useful information to extract from a stream for displaying and validation, and the latter is useful for use with the MediaCapabilities' Perhaps rather than specifying this property as an |
So the one "conflict" between the two dictionaries is |
Come to think of it, the |
Ah, yeah I forgot about the visible rect / coded size / aspect ratio. They definitely aren't interchangeable and authors are more likely to want to know the +1 to a dictionary type, but you've convinced me just using the decoder config directly is more trouble than it's worth. Thanks for your consideration! Feel free to close if you're also convinced. |
Partially address Issue WebKit#98 by making the configuration objects `dictionary` types rather than `interfaces.
Partially address Issue #98 by making the configuration objects `dictionary` types rather than `interfaces.
Okay, landed the change to use a |
Instead of implementing new
AudioTrackConfiguration
andVideoTrackConfiguration
dictionaries, can the correspondingAudioDecoderConfig
andVideoDecoderConfig
dictionaries from WebCodecs be reused?The top requests we've gotten from developers are:
As a stop gap to providing a containers API, having this information available via tracks seems helpful.
Thanks for suggesting the API!
The text was updated successfully, but these errors were encountered: