Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Nexmo APIs

Visit Nexmo

OpenTok.AudioDevice

A class that includes methods for setting the audio device to be used by publishers and subscribers. More...

Classes

class  AudioBus
 An audio bus used for all publisher and subscribers. More...
class  InputAudioDevice
 Represents an input audio device (such as a microphone) available on the Windows system. See EnumerateInputAudioDevices and SetInputAudioDevice. More...

Static Public Member Functions

static IList< InputAudioDeviceEnumerateInputAudioDevices ()
 Returns a list of available audio input devices on the system. More...
static void SetInputAudioDevice (InputAudioDevice audioInput)
 Sets the input audio device to be used by all publishers. See EnumerateInputAudioDevices. More...
static void SetCustomAudioDevice (Context context, IAudioDevice audioDevice)
 Sets an instance of the IAudioDevice interface as the virtual audio device for a custom audio driver used by all publishers and subscribers. More...

Detailed Description

A class that includes methods for setting the audio device to be used by publishers and subscribers.

Member Function Documentation

◆ EnumerateInputAudioDevices()

static IList<InputAudioDevice> OpenTok.AudioDevice.EnumerateInputAudioDevices ( )

Returns a list of available audio input devices on the system.

Returns
A list of InputAudioDevice objects, representing available Audio input devices on the system.

◆ SetCustomAudioDevice()

static void OpenTok.AudioDevice.SetCustomAudioDevice ( Context  context,
IAudioDevice  audioDevice 
)

Sets an instance of the IAudioDevice interface as the virtual audio device for a custom audio driver used by all publishers and subscribers.

Returns
void

◆ SetInputAudioDevice()

static void OpenTok.AudioDevice.SetInputAudioDevice ( InputAudioDevice  audioInput)

Sets the input audio device to be used by all publishers. See EnumerateInputAudioDevices.

Returns
void