Skip to content

FrozenWebMExportOptions

Defined in: session.ts:37

  • Omit<WebMExportOptions, "durationUs" | "width" | "height" | "frameRate" | "sampleRate" | "channelCount">

readonly audioBitrate: number

Defined in: webm-export.ts:50

WebMExportOptions.audioBitrate


readonly optional audioCodecString: string

Defined in: webm-export.ts:54

Exact audio codec string selected by preflight.

WebMExportOptions.audioCodecString


readonly optional cleanupSink: (reason) => void | Promise<void>

Defined in: webm-export.ts:63

Idempotent sink-specific cleanup (for example deleting a partial OPFS file).

unknown

void | Promise<void>

WebMExportOptions.cleanupSink


readonly optional execution: "worker" | "inline"

Defined in: session.ts:52

WebM defaults to Worker. MP4 defaults to inline because current Chromium advertises AAC in DedicatedWorker but fails during encode; worker remains opt-in.


readonly ir: RenderIr

Defined in: session.ts:42


readonly optional materialBackendAvailable: (materialId, parameters) => boolean

Defined in: session.ts:44

string

Readonly<Record<string, JsonValue>>

boolean


readonly optional onProgress: (progress) => void

Defined in: webm-export.ts:70

number

void

WebMExportOptions.onProgress


readonly projectRevision: bigint

Defined in: session.ts:43


readonly renderAudio: (request, signal?) => Promise<Float32Array<ArrayBufferLike>>

Defined in: webm-export.ts:65

OfflineAudioRequest

AbortSignal

Promise<Float32Array<ArrayBufferLike>>

WebMExportOptions.renderAudio


readonly renderFrame: (request, signal?) => Promise<VideoFrame>

Defined in: webm-export.ts:64

OfflineFrameRequest

AbortSignal

Promise<VideoFrame>

WebMExportOptions.renderFrame


readonly optional signal: AbortSignal

Defined in: webm-export.ts:69

WebMExportOptions.signal


readonly sink: WritableStream<{ data: Uint8Array<ArrayBuffer>; position: number; type: "write"; }>

Defined in: webm-export.ts:57

WebMExportOptions.sink


readonly optional sourceColorSpace: VideoColorSpaceInit

Defined in: webm-export.ts:56

Color interpretation of the RGBA frames passed to the encoder.

WebMExportOptions.sourceColorSpace


readonly videoBitrate: number

Defined in: webm-export.ts:49

WebMExportOptions.videoBitrate


readonly optional videoCodecString: string

Defined in: webm-export.ts:52

Exact codec string selected by preflight. Defaults to the profile baseline.

WebMExportOptions.videoCodecString


readonly optional workerUrl: string | URL

Defined in: session.ts:54

Host-resolved Export Worker URL for non-Vite or CDN deployments.