VideoFrame: timestamp プロパティ

Limited availability

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

timestampVideoFrame インターフェイスのプロパティで、動画のタイムスタンプをミリ秒単位で表す整数を返します。

整数です。

次の例は timestamp をコンソールに出力します。

js
console.log(VideoFrame.timestamp);

仕様書

Specification
WebCodecs
# dom-videoframe-timestamp

ブラウザーの互換性

BCD tables only load in the browser