SessionAdapter
SessionAdapter
Method | Description | Params |
init(with username: String) | Specify the username |
|
changeVideoCodec(codec: VideoCodecAdapter) | Specify a video codec type |
|
changeVideoRenderer(renderer: VideoRendererAdapter) | Specify a video renderer type |
|
build() | Construct a session instance |
Field Summary
Type | Field | Description |
LocalParticipantAdapter | localParticipant | Represents a local user |
SessionAdapterDelegate? | delegate | An optional delegate registered for receiving callbacks |
DispatchQueue | callbackQueue | A dispatch queue registered for receiving callbacks. The default queue is the main queue |
SessionStateAdapter | sessionState | Enum with current session state |
Method Summary
Return type | Methods | Description | Parameters |
void | connect(with token: String) | Connect a session |
|
void | disconnect() | Leave a room and teardown WebRTC session | |
UIViewController | createLogsViewController() | Return view controller with all Session logs | |
void | sendMessage(message: String) | sends message to all conference participants | message - text to send |
void | forceDisconnect(participantId: String, message: String?) | kick partitipant by id from session |
|
Static Method Summary
Return type | Methods | Description | Parameters |
void | setMinLogLevel(_ logLevel: WTALogLevel) | Specify a log level |
|
Last updated