SourceBuffer: appendBuffer() method
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, aTypedArrayor aDataViewobject 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
BCD tables only load in the browser