Connect Options
data class ConnectOptions(val autoSubscribe: Boolean = true, val iceServers: List<PeerConnection.IceServer>? = null, val rtcConfig: PeerConnection.RTCConfiguration? = null, val audio: Boolean = false, val video: Boolean = false, val protocolVersion: ProtocolVersion = ProtocolVersion.v13)
Options for using with Room.connect.
Constructors
Link copied to clipboard
constructor(autoSubscribe: Boolean = true, iceServers: List<PeerConnection.IceServer>? = null, rtcConfig: PeerConnection.RTCConfiguration? = null, audio: Boolean = false, video: Boolean = false, protocolVersion: ProtocolVersion = ProtocolVersion.v13)
Properties
Link copied to clipboard
Auto subscribe to room tracks upon connect, defaults to true
Link copied to clipboard
A user-provided list of ice servers. This will be merged into the ice servers in rtcConfig if it is also provided.
Link copied to clipboard
the protocol version to use with the server.