SourceBuffer.appendWindowEnd

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

appendWindowEndSourceBuffer インターフェイスのプロパティで、追加ウィンドウ(append window)の終わりのタイムスタンプを制御します。 タイムスタンプの範囲は、SourceBuffer に追加されるメディアデータをフィルターするために使用できます。 この範囲内のタイムスタンプを持つコード化されたメディアフレームは追加されますが、範囲外のものは除外されます。

appendWindowEnd の既定値は正の無限大です。

double 型で、追加ウィンドウの終了時間を秒単位で示します。

例外

このプロパティに新しい値を設定すると、次の例外が発生する場合があります。

InvalidAccessError DOMException

値を SourceBuffer.appendWindowStart 以下、または NaN に設定しようとした場合に発生します。

InvalidStateError DOMException

この SourceBuffer オブジェクトが更新中(つまり、その SourceBuffer.updating プロパティが現在 true)であるか、この SourceBufferMediaSource から取り除かれていた場合に発生します。

TBD

仕様書

Specification
Media Source Extensions™
# dom-sourcebuffer-appendwindowend

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
appendWindowEnd
Available in workers
Experimental

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.

関連情報