IAudioManager
Interface that may be used to manage audio devices, i.e. see current active device, select another active device and get the list of available devices.
Props
AudioDevice
AudioDevice { get; }
Current active audio device during the call or audio device that will be used for a call if there is no calls at this moment.
Returns
type:
AvailableAudioDevices
IReadOnlyCollection<AudioDevice>
AvailableAudioDevices { get; }
A collection of available audio devices.
Returns
type:
IReadOnlyCollection<AudioDevice>
Methods
SelectAudioDevice
void
SelectAudioDevice( audioDevice)
Change the selection of the current active audio device. There are two cases:
- before a call. The method doesn't activate an audio device, it just selects (i.e. points to) the audio device that will be activated.
- during a call. If the selected audio device is available, the method activates this audio device.
When the call is ended, selected audio device is reset to the default one. Please note that active audio device can be later changed if new device is connected. In this case IAudioManager.AudioDeviceChanged will be triggered to notify about new active device.
Parameters
audioDevice:
Audio device to be set active.
Returns
type:
void