Skip to content
Type

OggOutputFormatOptions

Ogg-specific output options.

ts
type OggOutputFormatOptions = {
	onPage?: (data: Uint8Array, position: number, source: MediaSource) => unknown;
};

See MediaSource.

Used by

Events

onPage

ts
onPage?: ((data: Uint8Array<ArrayBufferLike>, position: number, source: MediaSource) => unknown);

Will be called for each Ogg page that is written.

See MediaSource.

Released under the Mozilla Public License 2.0.