-
public abstract class VideoThis class allows a user to connect to a Room.
-
-
Field Summary
Fields Modifier and Type Field Description static Map<LogModule, LogLevel>moduleLogLevelprivate static AudioDeviceaudioDevice
-
Method Summary
Modifier and Type Method Description static LogLevelgetModuleLogLevel(LogModule module)Returns the logging level for messages logged by the specified LogModule. static AudioDevicegetAudioDevice()Returns the AudioDevice. static synchronized voidsetAudioDevice(@NonNull() AudioDevice audioDevice)Sets the custom audio device. static synchronized Roomconnect(@NonNull() Context context, @NonNull() ConnectOptions connectOptions, @NonNull() Room.Listener roomListener)Connect to a Room with specified options. static StringgetVersion()Returns the version of the Video SDK. static LogLevelgetLogLevel()Gets the logging level for messages logged by the Video SDK. static voidsetLogLevel(@NonNull() LogLevel level)Sets the logging level for messages logged by the Video SDK. -
-
Method Detail
-
getModuleLogLevel
@NonNull() static LogLevel getModuleLogLevel(LogModule module)
Returns the logging level for messages logged by the specified LogModule. The default loglevel for each module is ERROR.
-
getAudioDevice
@NonNull() static AudioDevice getAudioDevice()
Returns the AudioDevice.
-
setAudioDevice
static synchronized void setAudioDevice(@NonNull() AudioDevice audioDevice)
Sets the custom audio device. The audioDevice can be updated when there is noroom in progress and will be applied to subsequent connect API calls. Setting the audioDevice whileconnecting to a room will result in UnsupportedOperationException.
- Parameters:
audioDevice- The audio device.
-
connect
@NonNull() static synchronized Room connect(@NonNull() Context context, @NonNull() ConnectOptions connectOptions, @NonNull() Room.Listener roomListener)
Connect to a Room with specified options.
- Parameters:
connectOptions- options for connecting to room.roomListener- listener of room related events.
-
getVersion
@NonNull() static String getVersion()
Returns the version of the Video SDK.
-
getLogLevel
@NonNull() static LogLevel getLogLevel()
Gets the logging level for messages logged by the Video SDK.
-
setLogLevel
static void setLogLevel(@NonNull() LogLevel level)
Sets the logging level for messages logged by the Video SDK.
- Parameters:
level- The logging level
-
-
-
-