Skip to main content
Version: 0.8.3

encode

Callable

  • encode(__namedParameters: { audio?: Omit<AudioEncoderConfig, codec> & { codec?: string; stream: MFXTransformStream<any, AudioData> | ReadableStream<AudioData> }; mimeType: string; video?: Omit<MFXVideoEncoderConfig, codec> & { codec?: string; stream: MFXTransformStream<any, VideoFrame> | ReadableStream<VideoFrame> } } & Omit<ContainerEncoderConfig, video | audio>): ReadableStream<any>