MSE in workers
Categories
(Core :: Audio/Video: Playback, enhancement, P2)
Tracking
()
People
(Reporter: jrmuizel, Assigned: aosmond)
References
(Blocks 2 open bugs)
Details
(Keywords: parity-chrome, parity-safari, Whiteboard: [platform-feature])
User Story
https://mozilla-hub.atlassian.net/browse/FFXP-1846 platform-scheduled:2026-03-31 webcompat-risk:high
Twitch has seen a large impact from this feature:
https://github.com/w3c/media-source/issues/175#issuecomment-1045018594
See also: https://github.com/mozilla/standards-positions/issues/547
| Assignee | ||
Comment 1•4 years ago
|
||
I've started some prototyping related to this. The patches on this branch should do the plumbing to expose MediaSource on worker threads and such. What needs to happen now is to plumb this properly into HTMLMediaElement's selection/attach/detach logic. I hoping to get a chance to look at this in the next week (but it is best effort in my free time :)).
Updated•2 years ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
This should really be high risk, or you could roll it into the general web compat bug lists. We're actively working on this now.
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Thanks for the heads-up, Jim. I agree. I'll update this bug for now, and we can re-organize things later if we feel it's worthwhile.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•9 months ago
|
Comment 4•2 months ago
|
||
Similar to twich, kick.com is also slower compared to Chrome, and it looks like this is the culprit too. Channel switching there (while in a channel, clicking to another channel on the left sidebar to switch) is pretty slow in Firefox compared to Chrome, ~2.28s in Firefox vs ~868ms in Chrome.
It looks like kick uses Amazon IVS Player SDK, which means that this is probably issue for any website that uses Amazon IVS Player. The sdk has a gate called isSupportedInWorker for checking if it's supported in worker and falls back to sendRPC (with postMessage) if it's not supported.
Updated•1 month ago
|
Description
•