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

Request for position on MSE-for-WebCodecs #582

Open
wolenetz opened this issue Oct 1, 2021 · 4 comments
Open

Request for position on MSE-for-WebCodecs #582

wolenetz opened this issue Oct 1, 2021 · 4 comments
Labels
venue: W3C Specifications in W3C Working Groups

Comments

@wolenetz
Copy link

wolenetz commented Oct 1, 2021

Request for Mozilla Position on an Emerging Web Specification: MSE-for-WebCodecs feature addition to MSE

Other information

This feature has been discussed within the Media WG via w3c/media-source#184.
Chromium has an experimental implementation, and I expect to soon have a shareable demo beyond the existing web-platform-tests and the simple sample in the draft spec PR. The feature is currently in Chrome origin trials (as of M95). Notably, this feature diverges from the legacy event-driven MSE asynchronous append communication, using a Promise-based form for the new asynchronous appendEncodedChunks() method.

@annevk
Copy link
Contributor

annevk commented Oct 8, 2021

cc @padenot

@annevk annevk added the venue: W3C Specifications in W3C Working Groups label Oct 8, 2021
@asineth0
Copy link

LGTM.

@wolenetz
Copy link
Author

wolenetz commented May 19, 2022

Work on this in Chrome and in spec is currently stalled. We're looking for potential users of this API. If you are aware of users or use cases that could benefit from this work, please share if you can. Otherwise, this spec feature may not progress beyond the current preliminary experimental implementation in Chrome and unmerged spec PR.

@asineth0
Copy link

This would be pretty helpful for my use case. I’m using WebCodecs to encode video and send it over a RTCDataChannel and play it back on the other end. Being able to use MSE would be helpful because it would (at least in theory) allow smoother playback as it would provide a jitter buffer and handle decode/presentation timing.

On a higher-level, the application is a chat app and the feature that uses this is screen sharing (We have custom capture code and don’t use WebRTC’s media stack).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
venue: W3C Specifications in W3C Working Groups
Projects
Status: Unscreened
Development

No branches or pull requests

3 participants