CallNegotiateContent

@JsonClass(generateAdapter = true)
data class CallNegotiateContent(    @Json(name = "call_id") val callId: String,     @Json(name = "party_id") val partyId: String? = null,     @Json(name = "lifetime") val lifetime: Int?,     @Json(name = "description") val description: CallNegotiateContent.Description? = null,     @Json(name = "version") val version: String?) : CallSignalingContent

This introduces SDP negotiation semantics for media pause, hold/resume, ICE restarts and voice/video call up/downgrading.

Constructors

Link copied to clipboard
fun CallNegotiateContent(    @Json(name = "call_id") callId: String,     @Json(name = "party_id") partyId: String? = null,     @Json(name = "lifetime") lifetime: Int?,     @Json(name = "description") description: CallNegotiateContent.Description? = null,     @Json(name = "version") version: String?)

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Description(@Json(name = "type") val type: SdpType?, @Json(name = "sdp") val sdp: String?)

Properties

Link copied to clipboard
open override val callId: String

Required. The ID of the call this event relates to.

Link copied to clipboard
val description: CallNegotiateContent.Description? = null

Required. The session description object

Link copied to clipboard
val lifetime: Int?

Required. The time in milliseconds that the negotiation is valid for. Once exceeded the sender of the negotiate event should consider the negotiation failed (timed out) and the recipient should ignore it.

Link copied to clipboard
open override val partyId: String? = null

Required. ID to let user identify remote echo of their own events

Link copied to clipboard
open override val version: String?

Required. The version of the VoIP specification this message adheres to.