SourceBuffer.appendBuffer()
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
SourceBuffer
的 appendBuffer()
方法将 ArrayBuffer
、TypedArray
或 DataView
中的媒体片段数据添加到 SourceBuffer
对象中。
语法
js
appendBuffer(source)
参数
source
-
一个
ArrayBuffer
、TypedArray
或一个DataView
对象,其中包含了你想要添加到SourceBuffer
的媒体片段数据。
返回值
无(undefined
)。
异常
无。
示例
待定。
规范
Specification |
---|
Media Source Extensions™ # dom-sourcebuffer-appendbuffer |
浏览器兼容性
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.