duration

external val duration: UInt53?(source)

The duration property of the VideoFrame interface returns an integer indicating the duration of the video in microseconds.

MDN Reference