Skip to content
Type

AdtsOutputFormatOptions

ADTS-specific output options.

ts
type AdtsOutputFormatOptions = {
	onFrame?: (data: Uint8Array, position: number) => unknown;
};

Used by

Events

onFrame

ts
onFrame?: (data: Uint8Array, position: number) => unknown;

Will be called for each ADTS frame that is written.

Released under the Mozilla Public License 2.0.