ApiRTC
open class ApiRTC : Observable<ApiRTCEvent>
Undocumented
-
External camera enabled
Declaration
Swift
public static var isExternalCameraControlEnabled: Bool { get }
-
SDK version
Declaration
Swift
public static var version: String { get }
-
SDK build version
Declaration
Swift
public static var build: String { get }
-
Max data size (bytes) can be pushed using data channel
Declaration
Swift
public static var maxPushDataSize: Int { get }
-
Sets log types
Declaration
Swift
open class func setLogTypes(_ types: LogType...)
-
Enables socket connection debug info logging
Declaration
Swift
open class func setSocketVerboseLog(enabled: Bool)
-
Mutes incoming socket messages of specified types
Declaration
Swift
open class func setSocketMessageTypesLogSuppressed(_ value: String...)
-
Sets audio output
Declaration
Swift
open class func setAudioOutput(_ output: AudioOutput)
-
Enables
ApiRTCEvent.networkState
eventsDeclaration
Swift
open class func enableNetworkStateEvents()
-
Disables
ApiRTCEvent.networkState
eventsDeclaration
Swift
open class func disableNetworkStateEvents()
-
Enables external camera connection monitor
Declaration
Swift
open class func enableExternalCameraControl()
-
Disables external camera connection monitor
Declaration
Swift
open class func disableExternalCameraControl()
-
Undocumented
Declaration
Swift
open class func onEvent(_ observer: AnyObject, _ callback: @escaping ((ApiRTCEvent) -> Void))