You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.5 KiB
YAML
36 lines
1.5 KiB
YAML
10 years ago
|
{
|
||
|
"type": "object",
|
||
5 years ago
|
"description": "Sent by either party to signal their termination of the call. This can be sent either once the call has has been established or before to abort the call.",
|
||
10 years ago
|
"allOf": [{
|
||
9 years ago
|
"$ref": "core-event-schema/room_event.yaml"
|
||
10 years ago
|
}],
|
||
|
"properties": {
|
||
|
"content": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"call_id": {
|
||
10 years ago
|
"type": "string",
|
||
|
"description": "The ID of the call this event relates to."
|
||
10 years ago
|
},
|
||
|
"version": {
|
||
10 years ago
|
"type": "integer",
|
||
|
"description": "The version of the VoIP specification this message adheres to. This specification is version 0."
|
||
5 years ago
|
},
|
||
|
"reason": {
|
||
|
"type": "string",
|
||
5 years ago
|
"description": "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.",
|
||
5 years ago
|
"enum": [
|
||
|
"ice_failed",
|
||
|
"invite_timeout"
|
||
|
]
|
||
10 years ago
|
}
|
||
|
},
|
||
|
"required": ["call_id", "version"]
|
||
|
},
|
||
|
"type": {
|
||
|
"type": "string",
|
||
|
"enum": ["m.call.hangup"]
|
||
|
}
|
||
|
}
|
||
|
}
|