RoomOptions

data class RoomOptions(host: String, name: String?, participantInfo: Map<String, Any>?, audio: Boolean, video: Boolean, hdVideo: Boolean, delayLocalStream: Boolean, monitorStats: Boolean, autoAnswer: Boolean, mediaStream: MediaStream?)

Options to be used when joining a room

Constructors

RoomOptions
Link copied to clipboard
fun RoomOptions(host: String, name: String? = null, participantInfo: Map<String, Any>? = null, audio: Boolean = true, video: Boolean = true, hdVideo: Boolean = true, delayLocalStream: Boolean = false, monitorStats: Boolean = false, autoAnswer: Boolean = true, mediaStream: MediaStream? = null)
Constructor to create the options to be used when joining a room

Properties

audio
Link copied to clipboard
val audio: Boolean = true
Join room with audio
autoAnswer
Link copied to clipboard
val autoAnswer: Boolean = true
Auto answer incoming calls
delayLocalStream
Link copied to clipboard
val delayLocalStream: Boolean = false
If true, the local media stream is only created after least two participants are connected to a room
hdVideo
Link copied to clipboard
val hdVideo: Boolean = true
Share local video in HD quality
host
Link copied to clipboard
val host: String
Host name / IP address
mediaStream
Link copied to clipboard
val mediaStream: MediaStream? = null
Media stream to use.
monitorStats
Link copied to clipboard
val monitorStats: Boolean = false
Enable or disable reporting WebRTC QoS data
name
Link copied to clipboard
val name: String? = null
Own participant name
participantInfo
Link copied to clipboard
val participantInfo: Map<String, Any>? = null
Arbitrary data object exchanged between participants in addition to the name
video
Link copied to clipboard
val video: Boolean = true
Join room with video