CallCandidatesContent

@JsonClass(generateAdapter = true)
data class CallCandidatesContent(    @Json(name = "call_id") val callId: String,     @Json(name = "party_id") val partyId: String? = null,     @Json(name = "candidates") val candidates: List<CallCandidate> = emptyList(),     @Json(name = "version") val version: String?) : CallSignalingContent

This event is sent by callers after sending an invite and by the callee after answering. Its purpose is to give the other party additional ICE candidates to try using to communicate.

Constructors

Link copied to clipboard
fun CallCandidatesContent(    @Json(name = "call_id") callId: String,     @Json(name = "party_id") partyId: String? = null,     @Json(name = "candidates") candidates: List<CallCandidate> = emptyList(),     @Json(name = "version") version: 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 candidates: List<CallCandidate>

Required. Array of objects describing the candidates.

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 messages adheres to.