Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for MediaSourceHandle.
Developer library 6
MediaSourceHandle
Media Source Extensionswindow_and_dedicated The **`MediaSourceHandle`** interface of the Media Source Extensions API is a proxy for a MediaSource that can be transferred from a dedicated worker back to the main thread and attached to a media element via its HTMLMediaElement.srcObject property. `MediaSource` objects are not transferable because they are event targets, hence the need for `MediaSourceHandle`s. It can
HTMLMediaElement: srcObject property
t.src (see below for an example). In addition, as of version 108 Chromium supports attaching a dedicated worker `MediaSource` object by assigning that object's MediaSourceHandle instance (transferred from the worker) to `srcObject`. ## Value A MediaStream, MediaSource, Blob, or File object (though see the compatibility table for what is actually supported), or `null` if not assigned. ## Usage notes Older versions
Media Source API
improved performance when manipulating MediaSources and SourceBuffers. To play back the media, the MediaSource.handle property is used to get a reference to a MediaSourceHandle object, a proxy for the `MediaSource` that can be transferred back to the main thread and attached to a media element via its HTMLMediaElement.srcObject property. See [MSE-in-Workers Demo by Matt Wolenetz](https://wolenetz.github.io/mse-in-w
Transferable objects
items that various specifications indicate can be _transferred_ are listed below (this list may not be exhaustive!): - ArrayBuffer - AudioData - ImageBitmap - MediaSourceHandle - MediaStreamTrack - MessagePort - MIDIAccess - OffscreenCanvas - ReadableStream - RTCDataChannel - TransformStream - VideoFrame - WebTransportReceiveStream - WebTransportSendStream - WritableStream > [!NOTE] > Transferable objects are marke
MediaSource
- MediaSource.duration - : Gets and sets the duration of the current media being presented. - MediaSource.handle - : Inside a dedicated worker, returns a MediaSourceHandle object, a proxy for the `MediaSource` that can be transferred from the worker back to the main thread and attached to a media element via its HTMLMediaElement.srcObject property. - MediaSource.readyState - : Returns an enum representing th
MediaSource: handle property
Media Source Extensionsdedicated The **`handle`** read-only property of the MediaSource interface returns a MediaSourceHandle object, a proxy for the `MediaSource` that can be transferred from a dedicated worker back to the main thread and attached to a media element via its HTMLMediaElement.srcObject property. > [!NOTE] > `handle` is only visible on MediaSource instances inside dedicated workers. Each `MediaSourc