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> |
浏览器兼容性
Loading…