Input/Output Device Selection
Getting Available Devices
Before connecting to an audio channel you have the option of selecting which audio input (microphone) and output (speaker) device to use. If you do not specify an input device the operating system's default device will be used.
In order to get the current list of available audio devices you can use the getMediaList()
method.
Example Device List Retrieval
You should also add a listener for the onDeviceListUpdate
event. If input devices change you can update your input device selection.
Input Device Related Events
Event
Description
onDeviceListUpdate
This event will let you know the list of available input devices has changed.
Example onDeviceListUpdate
event payload:
Last updated