2015-05-18 18:54:17 +02:00
|
|
|
{
|
2025-08-27 08:39:05 +02:00
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
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.",
|
2024-10-15 18:22:40 +02:00
|
|
|
"x-weight": 40,
|
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"]
|
2024-03-19 18:02:35 +01:00
|
|
|
},
|
|
|
|
|
"sdp_stream_metadata": {
|
|
|
|
|
"$ref": "components/sdp_stream_metadata.yaml"
|
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"]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|