Skip to main content

AudioDeviceParams

Electron APIs / recorder / AudioDeviceParams

Parameters for selecting and configuring a specific audio device.

Extends DefaultAudioDeviceParams to optionally control audio track separation and includes identifying information such as device ID and name.

This interface is typically used to explicitly define which audio device should be used for input or output in a recording or streaming session.

See

DefaultAudioDeviceParams

Extends

Properties

PropertyTypeDescription
idstringThe unique identifier of the audio device.
namestringA unique name used to identify the audio device.
separateAudioTracks?booleanEnables automatic separation of input and output audio into dedicated tracks. When enabled, the default input and output audio sources will be recorded on separate tracks (tracks 2 and 3), while track 1 will contain a mixed version of both. Default false