Input Device Selection
Last updated
Last updated
Before joining a video channel you have the option of selecting which video input (camera) and audio input device (microphone) to use. If you do not specify an input devices the operating system's default devices will be used.
In order to get the current list of available video devices you can use the method.
You should also add a listener for the onDeviceListUpdate
event. If the list of available input devices changes you can update your input device selection.
Event
Description
onDeviceListUpdate
This event will let you know the list of available input devices has changed.
onDeviceListUpdate
event payload: When you instantiate the AloVideo object you can specify the input device id on the videoInputDeviceId
property. See: