OfferMessage

data class OfferMessage(val type: String = "offer", val sdp: String, val clientId: String, val bundleId: String? = null, val connectionId: String, val simulcast: Boolean = false, val metadata: Any?, val config: OfferConfig? = null, val mid: Map<String, String>? = null, val encodings: List<Encoding>?, val dataChannels: List<Map<String, Any>>? = null)

Constructors

Link copied to clipboard
constructor(type: String = "offer", sdp: String, clientId: String, bundleId: String? = null, connectionId: String, simulcast: Boolean = false, metadata: Any?, config: OfferConfig? = null, mid: Map<String, String>? = null, encodings: List<Encoding>?, dataChannels: List<Map<String, Any>>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "bundle_id")
val bundleId: String? = null
Link copied to clipboard
@SerializedName(value = "client_id")
val clientId: String
Link copied to clipboard
@SerializedName(value = "config")
val config: OfferConfig? = null
Link copied to clipboard
@SerializedName(value = "connection_id")
val connectionId: String
Link copied to clipboard
@SerializedName(value = "data_channels")
val dataChannels: List<Map<String, Any>>? = null
Link copied to clipboard
@SerializedName(value = "encodings")
val encodings: List<Encoding>?
Link copied to clipboard
@SerializedName(value = "metadata")
val metadata: Any?
Link copied to clipboard
@SerializedName(value = "mid")
val mid: Map<String, String>? = null
Link copied to clipboard
@SerializedName(value = "sdp")
val sdp: String
Link copied to clipboard
@SerializedName(value = "simulcast")
val simulcast: Boolean = false
Link copied to clipboard
@SerializedName(value = "type")
val type: String