SourceBuffer: appendBuffer() method
Note: This feature is available in Dedicated Web Workers.
The appendBuffer()
method of the
SourceBuffer
interface appends media segment data from an
ArrayBuffer
, a TypedArray
or a DataView
object
to the SourceBuffer
.
Syntax
js
appendBuffer(source)
Parameters
source
-
Either an
ArrayBuffer
, aTypedArray
or aDataView
object that contains the media segment data you want to add to theSourceBuffer
.
Return value
None (undefined
).
Exceptions
None.
Examples
TBD.
Specifications
Specification |
---|
Media Source Extensions™ # dom-sourcebuffer-appendbuffer |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
appendBuffer | ||||||||||||
Available in workers |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
- No support
- No support
- Experimental. Expect behavior to change in the future.
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.