public class AudioDeviceManager
extends java.lang.Object
You can only define a single audio capture source and rendering target for the app. You cannot set these individually for each publisher and subscriber.
Constructor and Description |
---|
AudioDeviceManager() |
Modifier and Type | Method and Description |
---|---|
static BaseAudioDevice |
getAudioDevice()
Gets the
BaseAudioDevice instance. |
static void |
setAudioDevice(BaseAudioDevice device)
Sets the audio device to be used.
|
public static void setAudioDevice(BaseAudioDevice device) throws java.lang.IllegalStateException
device
- The BaseAudioDevice
interface implementation.java.lang.IllegalStateException
public static BaseAudioDevice getAudioDevice()
BaseAudioDevice
instance.BaseAudioDevice
instance.