Draft
This page is not complete.
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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.
Returns
Void.
Errors
None.
Example
TBD.
Specifications
Specification | Status | Comment |
---|---|---|
Media Source Extensions The definition of 'appendStream()' in that specification. |
Recommendation | Initial definition. |
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.
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | No | 12 | No | ? | No | ? |
Feature | Android webview | Chrome for Android | Edge mobile | Firefox for Android | Opera Android | iOS Safari | Samsung Internet |
---|---|---|---|---|---|---|---|
Basic support | ? | ? | ? | No | ? | No | ? |