Expose MediaStreamTracks in Workers and allow them to be transferred between contexts. Allowing this transfer makes it easier to access and process media in contexts other that where it was created, eg in Workers or other documents.
Having transferable MediaStreamTracks allows much more flexibility for architecting web applications which have multiple windows which each wish to contribute video or audio tracks to a single WebRTC conference, without having to have independent competing network connections via PeerConnection. This also allows transferring all media processing to a separate context eg a worker, rather than mediating control signals through the window.
No milestones specified
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAArnMxEAdAdKs-T5o_TWCnvXpWEXiXDvpoxz_zpwADn%2BpyBwEA%40mail.gmail.com.
Hey Tony!My understanding of the transfer mechanism is that the transferring context loses control of the stream, handing it off to the receiving context. The stream source remains with the original context, however, and I'm wondering whether that provides an opportunity for replicating the timing attacks that SharedArrayBuffers enabled. Given the ability to clone streams, it seems possible for a source in one context to be writeable in one context, and readable from multiple contexts.Have y'all thought about that potential threat? Is it actually a risk, or have I missed things? :)/cc +Artur Janc-mikeOn Wed, Jan 19, 2022 at 5:07 PM 'Tony Herre' via blink-dev <blin...@chromium.org> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.