Call Hangup Content
@JsonClass(generateAdapter = true )
Content copied to clipboard
Sent by either party to signal their termination of the call. This can be sent either once the call has been established or before to abort the call.
Constructors
Link copied to clipboard
fun CallHangupContent( @Json(name = "call_id" ) callId: String, @Json(name = "party_id" ) partyId: String? = null, @Json(name = "version" ) version: String?, @Json(name = "reason" ) reason: EndCallReason? = null)
Content copied to clipboard
Properties
Link copied to clipboard
Optional error reason for the hangup. This should not be provided when the user naturally ends or rejects the call. When there was an error in the call negotiation, this should be ice_failed
for when ICE negotiation fails or invite_timeout
for when the other party did not answer in time. One of: "ice_failed", "invite_timeout"