Skip to main content

Function: useAudioInputDevices()

useAudioInputDevices(): AudioInputDevice[]

Get the available audio input devices for the current audio session.

Built in microphone is always available after permissions, while external devices might be plugged in or out at any point, so the result of this hook might update over time.

Returns​

AudioInputDevice[]

Defined in​

hooks/useAudioInputDevices.ts:12