Offer

@JsonClass(generateAdapter = true)
data class Offer(@Json(name = "type") val type: SdpType? = SdpType.OFFER, @Json(name = "sdp") val sdp: String?)

Constructors

Link copied to clipboard
fun Offer(@Json(name = "type") type: SdpType? = SdpType.OFFER, @Json(name = "sdp") sdp: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val sdp: String?

Required. The SDP text of the session description.

Link copied to clipboard
val type: SdpType?

Required. The type of session description. Must be 'offer'.