SourceBuffer.timestampOffset
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
timestampOffset
は SourceBuffer
インターフェイスのプロパティで、SourceBuffer
に追加されるメディアセグメント内のタイムスタンプに適用されるオフセットを制御します。
timestampOffset
の初期値は 0 です。
値
double 型で、秒単位のオフセット量です。
例外
このプロパティに新しい値を設定すると、次の例外が発生する場合があります。
InvalidStateError
DOMException
-
MediaSource.sourceBuffers
に含まれるSourceBuffer
オブジェクトの 1 つ以上が更新中(つまり、SourceBuffer.updating
プロパティが現在true
)、SourceBuffer
内のメディアセグメントが現在解析中、またはこのSourceBuffer
がMediaSource
から取り除かれていた場合に発生します。
例
TBD
仕様書
Specification |
---|
Media Source Extensions™ # dom-sourcebuffer-timestampoffset |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
timestampOffset | ||||||||||||
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.