FrozenWebMExportOptions
此内容尚不支持你的语言。
Defined in: session.ts:37
Extends
Section titled “Extends”Omit<WebMExportOptions,"durationUs"|"width"|"height"|"frameRate"|"sampleRate"|"channelCount">
Properties
Section titled “Properties”audioBitrate
Section titled “audioBitrate”
readonlyaudioBitrate:number
Defined in: webm-export.ts:50
Inherited from
Section titled “Inherited from”WebMExportOptions.audioBitrate
audioCodecString?
Section titled “audioCodecString?”
readonlyoptionalaudioCodecString:string
Defined in: webm-export.ts:54
Exact audio codec string selected by preflight.
Inherited from
Section titled “Inherited from”WebMExportOptions.audioCodecString
cleanupSink()?
Section titled “cleanupSink()?”
readonlyoptionalcleanupSink: (reason) =>void|Promise<void>
Defined in: webm-export.ts:63
Idempotent sink-specific cleanup (for example deleting a partial OPFS file).
Parameters
Section titled “Parameters”reason
Section titled “reason”unknown
Returns
Section titled “Returns”void | Promise<void>
Inherited from
Section titled “Inherited from”execution?
Section titled “execution?”
readonlyoptionalexecution:"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.
readonlyir:RenderIr
Defined in: session.ts:42
materialBackendAvailable()?
Section titled “materialBackendAvailable()?”
readonlyoptionalmaterialBackendAvailable: (materialId,parameters) =>boolean
Defined in: session.ts:44
Parameters
Section titled “Parameters”materialId
Section titled “materialId”string
parameters
Section titled “parameters”Readonly<Record<string, JsonValue>>
Returns
Section titled “Returns”boolean
onProgress()?
Section titled “onProgress()?”
readonlyoptionalonProgress: (progress) =>void
Defined in: webm-export.ts:70
Parameters
Section titled “Parameters”progress
Section titled “progress”number
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”projectRevision
Section titled “projectRevision”
readonlyprojectRevision:bigint
Defined in: session.ts:43
renderAudio()
Section titled “renderAudio()”
readonlyrenderAudio: (request,signal?) =>Promise<Float32Array<ArrayBufferLike>>
Defined in: webm-export.ts:65
Parameters
Section titled “Parameters”request
Section titled “request”signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<Float32Array<ArrayBufferLike>>
Inherited from
Section titled “Inherited from”renderFrame()
Section titled “renderFrame()”
readonlyrenderFrame: (request,signal?) =>Promise<VideoFrame>
Defined in: webm-export.ts:64
Parameters
Section titled “Parameters”request
Section titled “request”signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<VideoFrame>
Inherited from
Section titled “Inherited from”signal?
Section titled “signal?”
readonlyoptionalsignal:AbortSignal
Defined in: webm-export.ts:69
Inherited from
Section titled “Inherited from”
readonlysink:WritableStream<{data:Uint8Array<ArrayBuffer>;position:number;type:"write"; }>
Defined in: webm-export.ts:57
Inherited from
Section titled “Inherited from”sourceColorSpace?
Section titled “sourceColorSpace?”
readonlyoptionalsourceColorSpace:VideoColorSpaceInit
Defined in: webm-export.ts:56
Color interpretation of the RGBA frames passed to the encoder.
Inherited from
Section titled “Inherited from”WebMExportOptions.sourceColorSpace
videoBitrate
Section titled “videoBitrate”
readonlyvideoBitrate:number
Defined in: webm-export.ts:49
Inherited from
Section titled “Inherited from”WebMExportOptions.videoBitrate
videoCodecString?
Section titled “videoCodecString?”
readonlyoptionalvideoCodecString:string
Defined in: webm-export.ts:52
Exact codec string selected by preflight. Defaults to the profile baseline.
Inherited from
Section titled “Inherited from”WebMExportOptions.videoCodecString
workerUrl?
Section titled “workerUrl?”
readonlyoptionalworkerUrl:string|URL
Defined in: session.ts:54
Host-resolved Export Worker URL for non-Vite or CDN deployments.