Obsolete
This 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 theSourceBuffer
. - maxSize
- An unsigned long value indicating the maximum number of bytes that can be appended in this operation.
Return value
Exceptions
None.
Example
TBD.
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
appendStream | 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.