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

Reduce scope of MediaStreamTrack transfer to DedicatedWorker for now #158

Open
jan-ivar opened this issue Oct 25, 2024 · 1 comment
Open

Comments

@jan-ivar
Copy link
Member

The MediaStreamTrack WebIDL in § 5.1 Transferable MediaStreamTrack reads:

[Exposed=(Window,Worker), Transferable]

...which is short for:

[Exposed=(Window,DedicatedWorker,SharedWorker)), Transferable]

While use cases exist for DedicatedWorker (mediacapture-transform), there are currently no use cases for SharedWorker.

The latter also lacks implementation: Safari 18 only implements transfer to DedicatedWorker, which is what Firefox plans as well.

Others have expressed difficulty with transfer, so reducing the scope for now seems reasonable. We can always extend it later.

Proposal:

[Exposed=(Window,DedicatedWorker)), Transferable]
@dontcallmedom-bot
Copy link

This issue had an associated resolution in WebRTC December 2024 meeting – 10 December 2024 ([mediacapture-extensions] Reduce scope of MediaStreamTrack transfer to DedicatedWorker for now):

RESOLUTION: Proceed with reducing scope of MediaStremaTrack to DedicatedWorker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants