2015-05-18 18:54:17 +02:00
|
|
|
{
|
|
|
|
|
"type": "object",
|
2015-05-28 12:35:18 +02:00
|
|
|
"description": "This event is sent by the callee when they wish to answer the call.",
|
2015-05-18 18:54:17 +02:00
|
|
|
"allOf": [{
|
2015-12-07 14:53:48 +01:00
|
|
|
"$ref": "core-event-schema/room_event.yaml"
|
2015-05-18 18:54:17 +02:00
|
|
|
}],
|
|
|
|
|
"properties": {
|
|
|
|
|
"content": {
|
|
|
|
|
"type": "object",
|
2023-05-23 20:29:35 +02:00
|
|
|
"allOf": [{
|
|
|
|
|
"$ref": "core-event-schema/call_event.yaml"
|
|
|
|
|
}],
|
2015-05-18 18:54:17 +02:00
|
|
|
"properties": {
|
|
|
|
|
"answer": {
|
|
|
|
|
"type": "object",
|
2015-05-21 10:46:14 +02:00
|
|
|
"title": "Answer",
|
2015-05-20 18:40:14 +02:00
|
|
|
"description": "The session description object",
|
2015-05-18 18:54:17 +02:00
|
|
|
"properties": {
|
|
|
|
|
"type": {
|
|
|
|
|
"type": "string",
|
2015-05-20 17:19:17 +02:00
|
|
|
"enum": ["answer"],
|
2015-05-26 18:39:38 +02:00
|
|
|
"description": "The type of session description."
|
2015-05-18 18:54:17 +02:00
|
|
|
},
|
|
|
|
|
"sdp": {
|
2015-05-20 17:19:17 +02:00
|
|
|
"type": "string",
|
|
|
|
|
"description": "The SDP text of the session description."
|
2015-05-18 18:54:17 +02:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": ["type", "sdp"]
|
2023-07-18 15:30:59 +02:00
|
|
|
},
|
|
|
|
|
"sdp_stream_metadata": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "SDP Stream Metadata",
|
|
|
|
|
"x-addedInMatrixVersion": "1.7",
|
|
|
|
|
"description": "Object describing the streams that will be sent",
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Stream Metadata Block",
|
|
|
|
|
"properties": {
|
|
|
|
|
"purpose": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["m.usermedia", "m.screenshare"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": ["purpose"]
|
|
|
|
|
}
|
2015-05-18 18:54:17 +02:00
|
|
|
}
|
|
|
|
|
},
|
2023-05-23 20:29:35 +02:00
|
|
|
"required": ["answer"]
|
2015-05-18 18:54:17 +02:00
|
|
|
},
|
|
|
|
|
"type": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": ["m.call.answer"]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|