Microphone Selection

During AloAudio Instantiation

When you instantiate the AloAudio object you can specify the input device id with the audioInputDeviceId property. Set this property to one of the deviceId values retrieved from getMediaList().

After AloAudio Instantiation

After you have instantiated the AloAudio object you can change the audio input device by calling the changeAudioInput(deviceId) method. Set the deviceId to one of the device values retrieved from getMediaList().

aloAudio.changeAudioInput(deviceId)

Last updated