Merge pull request #2031 from matrix-org/travis/1.0/voip-hangup
Add missing reason property to m.call.hangup
This commit is contained in:
commit
2cf00fc5ca
2 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,14 @@
|
|||
"version": {
|
||||
"type": "integer",
|
||||
"description": "The version of the VoIP specification this message adheres to. This specification is version 0."
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"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.",
|
||||
"enum": [
|
||||
"ice_failed",
|
||||
"invite_timeout"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["call_id", "version"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue