-
public class LiveKitThe main entry point into using LiveKit.
-
-
Field Summary
Fields Modifier and Type Field Description private static LoggingLevelloggingLevelprivate static LKLog.Loggerloggerprivate static BooleanenableWebRTCLoggingpublic final static LiveKitINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitinit(Context appContext)Certain WebRTC classes need to be initialized prior to use. final Roomcreate(Context appContext, RoomOptions options, LiveKitOverrides overrides)Create a Room object. final static LoggingLevelgetLoggingLevel()final static UnitsetLoggingLevel(LoggingLevel loggingLevel)final static LKLog.LoggergetLogger()final static UnitsetLogger(LKLog.Logger logger)final static BooleangetEnableWebRTCLogging()Enables logs for the underlying WebRTC sdk logging. final static UnitsetEnableWebRTCLogging(Boolean enableWebRTCLogging)Enables logs for the underlying WebRTC sdk logging. -
-
Method Detail
-
init
final Unit init(Context appContext)
Certain WebRTC classes need to be initialized prior to use.
This does not need to be called under normal circumstances, as LiveKit.create will handle this for you.
-
create
final Room create(Context appContext, RoomOptions options, LiveKitOverrides overrides)
Create a Room object.
-
getLoggingLevel
final static LoggingLevel getLoggingLevel()
-
setLoggingLevel
final static Unit setLoggingLevel(LoggingLevel loggingLevel)
-
getLogger
final static LKLog.Logger getLogger()
-
getEnableWebRTCLogging
final static Boolean getEnableWebRTCLogging()
Enables logs for the underlying WebRTC sdk logging. Used in conjunction with loggingLevel.
Note: WebRTC logging is very noisy and should only be used to diagnose native WebRTC issues.
-
setEnableWebRTCLogging
final static Unit setEnableWebRTCLogging(Boolean enableWebRTCLogging)
Enables logs for the underlying WebRTC sdk logging. Used in conjunction with loggingLevel.
Note: WebRTC logging is very noisy and should only be used to diagnose native WebRTC issues.
-
-
-
-