Web/API/SourceBuffer/appendStream

From Get docs

ObsoleteThis feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.


The appendStream() method of the SourceBuffer interface appends media segment data from a ReadableStream object to the SourceBuffer.

Syntax

sourceBuffer.appendStream(stream, maxSize);

Parameters

stream
The ReadableStream that is the source of the media segment data you want to append to the SourceBuffer.
maxSize
An unsigned long value indicating the maximum number of bytes that can be appended in this operation.

Return value

undefined.

Exceptions

None.

Example

TBD.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

appendStream

Deprecated'Non-standard'

Chrome

No support No

Edge

No support 12 — 79

Firefox

No support No

IE

?

Opera

No support No

Safari

?

WebView Android

?

Chrome Android

?

Firefox Android

No support No

Opera Android

?

Safari iOS

No support No

Samsung Internet Android

?

Legend

No support  
No support
Compatibility unknown  
Compatibility unknown
Non-standard. Expect poor cross-browser support.'
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.'
Deprecated. Not for use in new websites.


See also