Skip to content
Type

DurationMetadataRequestOptions

Options for retrieving media duration from metadata.

ts
type DurationMetadataRequestOptions = {
	skipLiveWait?: boolean;
};

Used by

Properties

skipLiveWait

ts
skipLiveWait?: boolean;

When the underlying media is live, querying the duration will, by default, wait until the live stream has ended. Setting this field to true skips that wait and returns the current duration of the stream. When the media isn't live, this field has no effect.

See also PacketRetrievalOptions.skipLiveWait.

Released under the Mozilla Public License 2.0.