Skip to content
Type

ConversionExecuteOptions

Options for controlling a single call to Conversion.execute.

ts
type ConversionExecuteOptions = {
	until?: number;
	pauseSignal?: AbortSignal;
};

Used by

Properties

until

ts
until?: number;

The timestamp in seconds, in the output's timescale, until which the conversion should advance. Defaults to Infinity, meaning the conversion runs until the end.

This field is especially useful for composable conversions, as it allows you to advance the conversion in lockstep with other media data sources.

pauseSignal

ts
pauseSignal?: AbortSignal;

A signal that, when triggered, pauses the conversion as soon as possible.

Released under the Mozilla Public License 2.0.