The addSourceBuffer() method of the MediaSource interface creates a new SourceBuffer of the given MIME type and adds it to the MediaSource's SourceBuffers list.
The duration property of the MediaSource interface gets and sets the duration of the current media being presented.
The endOfStream() method of the MediaSource interface signals the end of the stream.
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.
The MediaSource() constructor of the MediaSource interface constructs and returns a new MediaSource object with no associated source buffers.
The readyState read-only property of the MediaSource interface returns an enum representing the state of the current MediaSource. The three possible values are:
The removeSourceBuffer() method of the MediaSource interface removes the given SourceBuffer from the SourceBuffers list associated with this MediaSource object.
The sourceBuffers read-only property of the MediaSource interface returns a SourceBufferList object containing the list of SourceBuffer objects associated with this MediaSource.
The abort() method of the SourceBuffer interface aborts the current segment and resets the segment parser.
The appendBuffer() method of the SourceBuffer interface appends media segment data from an ArrayBuffer or ArrayBufferView object to the SourceBuffer.
The appendStream() method of the SourceBuffer interface appends media segment data from a ReadableStream object to the SourceBuffer.
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.
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.
The audioTracks read-only property of the SourceBuffer interface returns a list of the audio tracks currently contained inside the SourceBuffer.
The buffered read-only property of the SourceBuffer interface returns the time ranges that are currently buffered in the SourceBuffer.