public abstract class Video extends Object
Constructor and Description |
---|
Video() |
Modifier and Type | Method and Description |
---|---|
static Room |
connect(android.content.Context context,
ConnectOptions connectOptions,
Room.Listener roomListener)
Connect to a
Room with specified options. |
static AudioDevice |
getAudioDevice()
Returns the AudioDevice.
|
static LogLevel |
getLogLevel()
Gets the logging level for messages logged by the Video SDK.
|
static String |
getVersion()
Returns the version of the Video SDK.
|
static void |
setAudioDevice(AudioDevice audioDevice)
Sets the custom audio device.
|
static void |
setLogLevel(LogLevel level)
Sets the logging level for messages logged by the Video SDK.
|
static void |
setModuleLogLevel(LogModule module,
LogLevel level)
Sets the logging level for messages logged by a specific module.
|
public static Room connect(android.content.Context context, ConnectOptions connectOptions, Room.Listener roomListener)
Room
with specified options.connectOptions
- options for connecting to room.roomListener
- listener of room related events.public static String getVersion()
public static LogLevel getLogLevel()
public static AudioDevice getAudioDevice()
public static void setAudioDevice(AudioDevice audioDevice) throws UnsupportedOperationException
audioDevice
can be updated when there is no
room in progress and will be applied to subsequent connect(Context,
ConnectOptions, Room.Listener)
API calls. Setting the audioDevice
while
connecting to a room will result in UnsupportedOperationException
.audioDevice
- The audio device.UnsupportedOperationException
public static void setLogLevel(LogLevel level)
level
- The logging level5.13.0