Skip to main content

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

PropertyModifierTypeDescription
codecreadonlystringThe codec identifier (e.g., h264, aac, av1) supported by the encoder.
namereadonlystringA human-readable name for the encoder (e.g., shown in UI).
typereadonlystringThe identifier for the specific audio encoder type. See kKnownAudioEncodersTypes