2015-05-18 16:54:17 +00:00
|
|
|
{
|
|
|
|
"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.",
|
2015-05-18 16:54:17 +00:00
|
|
|
"allOf": [{
|
2015-12-07 13:53:48 +00:00
|
|
|
"$ref": "core-event-schema/room_event.yaml"
|
2015-05-18 16:54:17 +00:00
|
|
|
}],
|
|
|
|
"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."
|
2015-05-18 16:54:17 +00:00
|
|
|
},
|
|
|
|
"answer": {
|
|
|
|
"type": "object",
|
2015-05-21 08:46:14 +00:00
|
|
|
"title": "Answer",
|
2015-05-20 16:40:14 +00:00
|
|
|
"description": "The session description object",
|
2015-05-18 16:54:17 +00:00
|
|
|
"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."
|
2015-05-18 16:54:17 +00:00
|
|
|
},
|
|
|
|
"sdp": {
|
2015-05-20 15:19:17 +00:00
|
|
|
"type": "string",
|
|
|
|
"description": "The SDP text of the session description."
|
2015-05-18 16:54:17 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["type", "sdp"]
|
|
|
|
},
|
|
|
|
"version": {
|
2015-05-20 15:19:17 +00:00
|
|
|
"type": "number",
|
|
|
|
"description": ""
|
2015-05-18 16:54:17 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["call_id", "answer", "version"]
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["m.call.answer"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|