Speaker Selection

Compatibility

NOTE: This feature is currently only available in Chrome browsers.

During AloAudio Instantiation

When you instantiate the AloAudio object you can specify the output device id with the audioOutputDeviceId 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 output device by calling the changeAudioOutput(deviceId) method. Set the deviceId to one of the device values retrieved from getMediaList().

aloAudio.changeAudioOutput(deviceId)

Last updated