这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
草案
此页面不完整。
appendWindowStart
特性为
SourceBuffer
interface controls the timestamp for the start of the
append window
, a timestamp range that can be used to filter what media data is appended to the
SourceBuffer
. Coded media frames with timestamps wthin this range will be appended, whereas those outside the range will be filtered out.
默认值
appendWindowStart
is the presentation start time, which is the beginning time of the playable media.
var myAppendWindowStart = sourceBuffer.appendWindowStart; sourceBuffer.appendWindowStart = 2.0;
A double, indicating the start time of the append window, in seconds.
The following exceptions may be thrown when setting a new value for this property.
| 异常 | 解释 |
|---|---|
InvalidAccessError
|
An attempt was made to set the value to less than 0, or a value greater than or equal to
SourceBuffer.appendWindowEnd
.
|
InvalidStateError
|
This
SourceBuffer
object is being updated (i.e. its
SourceBuffer.updating
property is currently
true
), or this
SourceBuffer
has been removed from the
MediaSource
.
|
TBD
| 规范 | 状态 | 注释 |
|---|---|---|
|
媒体源扩展
The definition of 'appendWindowStart' in that specification. |
推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
appendWindowStart
|
Chrome 23 | Edge 12 | Firefox 42 | IE 11 | Opera 15 | Safari 8 | WebView Android 4.4.3 | Chrome Android 33 | Firefox Android 不支持 No | Opera Android 14 | Safari iOS 不支持 No | Samsung Internet Android 3.0 |
完整支持
不支持
见实现注意事项。
用户必须明确启用此特征。
SourceBuffer
appendWindowEnd
appendWindowStart
audioTracks
buffered
mode
textTracks
timestampOffset
trackDefaults
updating
videoTracks