Skip to content
Type

FrameRateMetricsOptions

Options for controlling how a video track's FrameRateMetrics are computed.

ts
type FrameRateMetricsOptions = {
	targetPacketCount?: number;
};

Used by

Properties

targetPacketCount

ts
targetPacketCount?: number;

The target number of packets to inspect to compute the frame rate. Defaults to 256. Pass Infinity to scan the entire file.

Released under the Mozilla Public License 2.0.