Structure
RealtimeSDK.RoomOptions
public struct RoomOptions
Options to be used when joining a room
Parameters
Name | Type | Description |
---|---|---|
host | Host name / IP address |
|
name | Own participant name |
|
participantInfo | Arbitrary JSON string exchanged between participants in addition to the name |
|
audio | Join room with audio |
|
video | Join room with local video |
|
hdVideo | Share local video in HD quality |
|
delayLocalStream | If true, the local media stream is only created after least two participants are connected to a room |
|
autoAnswer | Auto answer incoming calls |
|
mediaStream | Media stream to use. Overrules audio/video options |
Relationships
Member Of
RealtimeSDK
The RealtimeSDK class defines the interface to the SDK and allows the application to join a room and provides callback events through the RealtimeSDKProtocol.
Initializers
init(host:name:)
public init(host: String, name: String)
Properties
participantInfo
public var participantInfo: Dictionary<String, Any>?
audio
public var audio: Bool = true
video
public var video: Bool = true
hdVideo
public var hdVideo: Bool = true
delayLocalStream
public var delayLocalStream: Bool = false
autoAnswer
public var autoAnswer: Bool = true
mediaStream
public var mediaStream: Any?