ConnectMessage

data class ConnectMessage(val type: String = "connect", var role: String, val channelId: String, val clientId: String? = null, val bundleId: String? = null, val metadata: Any? = null, val signalingNotifyMetadata: Any? = null, val multistream: Boolean = false, var spotlight: Any? = null, var spotlightNumber: Int? = null, var spotlightFocusRid: String? = null, var spotlightUnfocusRid: String? = null, var simulcast: Boolean? = false, var simulcastRid: String? = null, var video: Any? = null, var audio: Any? = null, val soraClient: String = SDKInfo.sdkInfo(), val libwebrtc: String = SDKInfo.libwebrtcInfo(), val environment: String = SDKInfo.deviceInfo(), val sdp: String? = null, val dataChannelSignaling: Boolean? = null, val ignoreDisconnectWebsocket: Boolean? = null, val dataChannels: List<Map<String, Any>>? = null, val audioStreamingLanguageCode: String? = null, var redirect: Boolean? = null, val forwardingFilter: Any? = null)

Constructors

Link copied to clipboard
constructor(type: String = "connect", role: String, channelId: String, clientId: String? = null, bundleId: String? = null, metadata: Any? = null, signalingNotifyMetadata: Any? = null, multistream: Boolean = false, spotlight: Any? = null, spotlightNumber: Int? = null, spotlightFocusRid: String? = null, spotlightUnfocusRid: String? = null, simulcast: Boolean? = false, simulcastRid: String? = null, video: Any? = null, audio: Any? = null, soraClient: String = SDKInfo.sdkInfo(), libwebrtc: String = SDKInfo.libwebrtcInfo(), environment: String = SDKInfo.deviceInfo(), sdp: String? = null, dataChannelSignaling: Boolean? = null, ignoreDisconnectWebsocket: Boolean? = null, dataChannels: List<Map<String, Any>>? = null, audioStreamingLanguageCode: String? = null, redirect: Boolean? = null, forwardingFilter: Any? = null)

Properties

Link copied to clipboard
@SerializedName(value = "audio")
var audio: Any?
Link copied to clipboard
@SerializedName(value = "audio_streaming_language_code")
val audioStreamingLanguageCode: String? = null
Link copied to clipboard
@SerializedName(value = "bundle_id")
val bundleId: String? = null
Link copied to clipboard
@SerializedName(value = "channel_id")
val channelId: String
Link copied to clipboard
@SerializedName(value = "client_id")
val clientId: String? = null
Link copied to clipboard
@SerializedName(value = "data_channels")
val dataChannels: List<Map<String, Any>>? = null
Link copied to clipboard
@SerializedName(value = "data_channel_signaling")
val dataChannelSignaling: Boolean? = null
Link copied to clipboard
@SerializedName(value = "environment")
val environment: String
Link copied to clipboard
@SerializedName(value = "forwarding_filter")
val forwardingFilter: Any? = null
Link copied to clipboard
@SerializedName(value = "ignore_disconnect_websocket")
val ignoreDisconnectWebsocket: Boolean? = null
Link copied to clipboard
@SerializedName(value = "libwebrtc")
val libwebrtc: String
Link copied to clipboard
@SerializedName(value = "metadata")
val metadata: Any? = null
Link copied to clipboard
@SerializedName(value = "multistream")
val multistream: Boolean = false
Link copied to clipboard
@SerializedName(value = "redirect")
var redirect: Boolean?
Link copied to clipboard
@SerializedName(value = "role")
var role: String
Link copied to clipboard
@SerializedName(value = "sdp")
val sdp: String? = null
Link copied to clipboard
@SerializedName(value = "signaling_notify_metadata")
val signalingNotifyMetadata: Any? = null
Link copied to clipboard
@SerializedName(value = "simulcast")
var simulcast: Boolean?
Link copied to clipboard
@SerializedName(value = "simulcast_rid")
var simulcastRid: String?
Link copied to clipboard
@SerializedName(value = "sora_client")
val soraClient: String
Link copied to clipboard
@SerializedName(value = "spotlight")
var spotlight: Any?
Link copied to clipboard
@SerializedName(value = "spotlight_focus_rid")
var spotlightFocusRid: String?
Link copied to clipboard
@SerializedName(value = "spotlight_number")
var spotlightNumber: Int?
Link copied to clipboard
@SerializedName(value = "spotlight_unfocus_rid")
var spotlightUnfocusRid: String?
Link copied to clipboard
@SerializedName(value = "type")
val type: String
Link copied to clipboard
@SerializedName(value = "video")
var video: Any?