-
Notifications
You must be signed in to change notification settings - Fork 72
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
Transferable Streams #430
Comments
CC @lukewagner, as this might be relevant to some WebAssembly related uses of Streams. |
Since #330 (insertable streams) is now marked as "worth prototyping", I think transferable streams should be, too. In order to implement end to end encryption in audio/video calls, insertable streams are required. However, the encrypting/decrypting process should be moved to a worker ( https://developer.mozilla.org/en-US/docs/Web/API/Worker ) in order to help performance - but this can only be done if passing streams to a worker is possible, which requires transferable streams. |
These are not likely to be the same thing. "Insertable streams" (ugh, that name still annoys me) is looking like it might be implemented using a worklet style of script rather than a full worker, and it applies mostly to WebRTC media streams. So there might be some sense in maximizing the similarities, it doesn't seem like those are guaranteed. For this, the opinions of @asutherland or @annevk might be useful. |
I have not reviewed the algorithms in detail, but this is a feature we've been supportive of ever since we talked about adding streams to the web platform. So I suggest we close this as worth prototyping. |
Request for Mozilla Position on an Emerging Web Specification
Other information
Pull request: whatwg/streams#1053
TAG early review: w3ctag/design-reviews#332
Explainer: https://github.com/whatwg/streams/blob/master/transferable-streams-explainer.md
Relevant sections of the standard:
The text was updated successfully, but these errors were encountered: