0
0
Fork 0
matrix-doc/event-schemas/schema/m.call.answer

45 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

{
"type": "object",
2015-05-28 10:35:18 +00:00
"description": "This event is sent by the callee when they wish to answer the call.",
"allOf": [{
2015-12-07 13:53:48 +00:00
"$ref": "core-event-schema/room_event.yaml"
}],
"properties": {
"content": {
"type": "object",
"properties": {
"call_id": {
2015-05-20 15:19:17 +00:00
"type": "string",
"description": "The ID of the call this event relates to."
},
"answer": {
"type": "object",
"title": "Answer",
2015-05-20 16:40:14 +00:00
"description": "The session description object",
"properties": {
"type": {
"type": "string",
2015-05-20 15:19:17 +00:00
"enum": ["answer"],
2015-05-26 16:39:38 +00:00
"description": "The type of session description."
},
"sdp": {
2015-05-20 15:19:17 +00:00
"type": "string",
"description": "The SDP text of the session description."
}
},
"required": ["type", "sdp"]
},
"version": {
2015-05-20 15:19:17 +00:00
"type": "number",
"description": ""
}
},
"required": ["call_id", "answer", "version"]
},
"type": {
"type": "string",
"enum": ["m.call.answer"]
}
}
}