AudioEncoderInfo
Electron APIs / Recorder / AudioEncoderInfo
Supported audio encoder information.
Extends the base encoder information with a specific encoder type identifier. Useful for populating encoder selection menus or configuring audio output.
Example
const audioEncoder: AudioEncoderInfo = {
codec: "aac",
name: "FFmpeg AAC Encoder",
type: "ffmpeg_aac",
};
Extends
Properties
Property | Modifier | Type | Description |
---|---|---|---|
codec | readonly | string | The codec identifier (e.g., h264 , aac , av1 ) supported by the encoder. |
name | readonly | string | A human-readable name for the encoder (e.g., shown in UI). |
type | readonly | string | The identifier for the specific audio encoder type. See kKnownAudioEncodersTypes |