in src/providers/DevicesProvider/AudioInputProvider.tsx [49:60]
async function initAudioInput() {
if (!audioVideo) {
return;
}
const devices = await audioVideo.listAudioInputDevices();
if (isMounted) {
setAudioInputs(devices);
audioVideo.addDeviceChangeObserver(observer);
}
}