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

Reference WebCodecs registry for codec names. #299

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

mfoltzgoogle
Copy link
Contributor

@mfoltzgoogle mfoltzgoogle commented Sep 9, 2022

Addresses Issue #233: Use the same codec names as the media APIs.

Per the discussion in https://www.w3.org/2022/06/08-webscreens-minutes.html#t08, this updates the spec to refer explicitly to the WebCodecs registry to define codec strings for codecs in that registry.

It adds fallback language for additional codecs not defined in that registry, but if it is not sufficient to define the strings for additional codecs I would prefer to just remove the fallback language from this PR and address that separately.


Preview | Diff

@mfoltzgoogle
Copy link
Contributor Author

This was discussed at TPAC 2022 [1] and there weren't any specific objections to going this route to name codecs.

An issue was raised about how agents can use capabilities to request a lower-resolution stream, because they are not capable of displaying the stream at original/higher resolution. I'll file a separate issue for that; I don't think the exact details of how codecs are named in capabilities is directly related, since display and stream resolution are conveyed through separate, additional fields in the protocol.

[1] https://www.w3.org/2022/09/16-webscreens-minutes.html#t07

@mfoltzgoogle mfoltzgoogle merged commit c2d4001 into main Sep 30, 2022
@mfoltzgoogle mfoltzgoogle deleted the issue-233-codec-names branch September 30, 2022 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants