Rate this page:

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

Copy URL

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

AvailableAudioDevices

Copy URL

IReadOnlyCollection<AudioDevice>

AvailableAudioDevices { get; }

A collection of available audio devices.

Returns

Methods

SelectAudioDevice

Copy URL

void

SelectAudioDevice(

AudioDevice

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

Returns

  • type:

    void