in src/providers/DevicesProvider/VideoInputProvider.tsx [53:64]
async function initVideoInput() {
if (!audioVideo) {
return;
}
const devices = await audioVideo.listVideoInputDevices();
if (isMounted) {
setVideoInputs(devices);
audioVideo.addDeviceChangeObserver(observer);
}
}