matrix-spec/data/event-schemas/schema/m.call.answer.yaml

49 lines
2 KiB
YAML
Raw Normal View History

{
"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.",
"allOf": [{
2015-12-07 14:53:48 +01:00
"$ref": "core-event-schema/room_event.yaml"
}],
"properties": {
"content": {
"type": "object",
"properties": {
"call_id": {
2015-05-20 17:19:17 +02:00
"type": "string",
"description": "The ID of the call this event relates to."
},
"answer": {
"type": "object",
"title": "Answer",
2015-05-20 18:40:14 +02:00
"description": "The session description object",
"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."
},
"sdp": {
2015-05-20 17:19:17 +02:00
"type": "string",
"description": "The SDP text of the session description."
}
},
"required": ["type", "sdp"]
},
"version": {
"type": "string",
"description": "The version of the VoIP specification this message adheres to. This specification is version 1. This field is a string such that experimental implementations can use non-integer versions. This field was an integer in the previous spec version and implementations must accept an integer 0"
2023-05-03 15:37:42 +02:00
},
"party_id": {
2023-05-03 15:42:13 +02:00
"type": "string",
"description": "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. "
}
},
2023-05-03 17:33:56 +02:00
"required": ["call_id", "answer", "version", "party_id"]
},
"type": {
"type": "string",
"enum": ["m.call.answer"]
}
}
}