Results 21 - 40 of 60

MediaSource.duration

The duration property of the MediaSource interface gets and sets the duration of the current media being presented.
API Audio duration Experimental Media Source Extensions MediaSource MSE Property Reference Video

MediaSource.endOfStream()

The endOfStream() method of the MediaSource interface signals the end of the stream.
API Audio endOfStream Experimental Media Source Extensions MediaSource Method MSE Reference Video

MediaSource.isTypeSupported()

The isTypeSupported() method of the MediaSource interface returns a Boolean value indicating if the given MIME type is supported by the current user agent — this is, if it can successfully create SourceBuffer objects for that MIME type.
API Audio Experimental isTypeSupported Media Source Extensions MediaSource Method MSE Reference Video

MediaSource.MediaSource()

The MediaSource() constructor of the MediaSource interface constructs and returns a new MediaSource object with no associated source buffers.
API Audio Constructor Experimental Media Source Extensions MediaSource MSE Reference Video

MediaSource.readyState

The readyState read-only property of the MediaSource interface returns an enum representing the state of the current MediaSource. The three possible values are:
API Audio Experimental Media Source Extensions MediaSource MSE Property readyState Reference Video

MediaSource.removeSourceBuffer()

The removeSourceBuffer() method of the MediaSource interface removes the given SourceBuffer from the SourceBuffers list associated with this MediaSource object.
API Audio Experimental Media Source Extensions MediaSource Method MSE Reference removeSourceBuffer Video

MediaSource.sourceBuffers

The sourceBuffers read-only property of the MediaSource interface returns a SourceBufferList object containing the list of SourceBuffer objects associated with this MediaSource.
API Audio Experimental Media Source Extensions MediaSource MSE Property Reference sourceBuffers Video

PromiseWorker.jsm

A PromiseWorker is a ChromeWorker except instead of calling postMessage() to send a message, you call post(), which returns a Promise. JavaScript files imported into the worker scope and main thread scope which allows posting to the worker and receiving in the form of a promise. Like ChromeWorker objects, PromiseWorker is mostly used for js-ctypes but it is not limited to that. There is no XPCOM access, similar to ChromeWorker. This answers the question "When should I use a PromiseWorker?", and the answer is, whenever you would normally use a ChromeWorker, but want postMessage to return promises.
add-ons Add-ons API Extensions Guide js-ctypes NeedsContent Workers

SourceBuffer.abort()

The abort() method of the SourceBuffer interface aborts the current segment and resets the segment parser.
abort API Audio Experimental Media Source Extensions Method MSE Reference SourceBuffer Video

SourceBuffer.appendBuffer()

The appendBuffer() method of the SourceBuffer interface appends media segment data from an ArrayBuffer or ArrayBufferView object to the SourceBuffer.
API appendBuffer Audio Experimental Media Source Extensions Method MSE Reference SourceBuffer Video

SourceBuffer.appendStream()

The appendStream() method of the SourceBuffer interface appends media segment data from a ReadableStream object to the SourceBuffer.
API appendstream Audio Experimental Media Source Extensions Method MSE Reference SourceBuffer Video

SourceBuffer.appendWindowEnd

The appendWindowEnd property of the SourceBuffer interface controls the timestamp for the end of the append window, a timestamp range that can be used to filter what media data is appended to the SourceBuffer. Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out.
API appendWindowEnd Audio audio Experimental Media Source Extensions MSE Property Reference SourceBuffer video Video

SourceBuffer.appendWindowStart

The appendWindowStart property of the SourceBuffer interface controls the timestamp for the start of the append window, a timestamp range that can be used to filter what media data is appended to the SourceBuffer. Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out.
API appendWindowStart Audio Experimental Media Source Extensions MSE Property Reference SourceBuffer Video

SourceBuffer.audioTracks

The audioTracks read-only property of the SourceBuffer interface returns a list of the audio tracks currently contained inside the SourceBuffer.
API Audio audiotracks Experimental Media Source Extensions MSE Property Reference SourceBuffer

SourceBuffer.buffered

The buffered read-only property of the SourceBuffer interface returns the time ranges that are currently buffered in the SourceBuffer.
API Audio buffered Experimental Media Source Extensions MSE Property Reference SourceBuffer Video

SourceBuffer.mode

The mode property of the SourceBuffer interface controls whether media segments can be appended to the SourceBuffer in any order, or in a strict sequence.
API Audio audio Experimental Media Source Extensions mode MSE Property Reference SourceBuffer video Video

SourceBuffer.remove()

The remove() method of the SourceBuffer interface removes media segments within a specific time range from the SourceBuffer.
API Audio Experimental Media Source Extensions Method MSE Reference remove SourceBuffer Video

SourceBuffer.textTracks

The textTracks read-only property of the SourceBuffer interface returns a list of the text tracks currently contained inside the SourceBuffer.
API Experimental Media Source Extensions MSE Property Reference SourceBuffer textTracks Video

SourceBuffer.timestampOffset

The timestampOffset property of the SourceBuffer interface controls the offset applied to timestamps inside media segments that are appended to the SourceBuffer.
API Audio Experimental Media Source Extensions MSE Property Reference SourceBuffer timestampOffset Video