CallUpdatedEvent
data class CallUpdatedEvent(@Json(name = "call") val call: CallResponse, @Json(name = "call_cid") val callCid: String, @Json(name = "capabilities_by_role") val capabilitiesByRole: Map<String, List<String>>, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "type") val type: String = "call.updated") : VideoEvent, WSCallEvent
This event is sent when a call is updated, clients should use this update the local state of the call. This event also contains the capabilities by role for the call, clients should update the own_capability for the current.
Parameters
call
callCid
capabilitiesByRole
The capabilities by role for this call
createdAt
type
The type of event: \"call.ended\" in this case