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" ,
"properties": {
"call_id": {
2015-05-20 17:19:17 +02:00
"type": "string" ,
"description": "The ID of the call this event relates to."
2015-05-18 18:54:17 +02:00
},
"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" ]
},
"version": {
2023-05-04 13:20:53 +02:00
"type": "string" ,
2023-05-02 17:54:22 +02:00
"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. "
2015-05-18 18:54:17 +02:00
}
},
2023-05-03 17:33:56 +02:00
"required": [ "call_id" , "answer" , "version" , "party_id" ]
2015-05-18 18:54:17 +02:00
},
"type": {
"type": "string" ,
"enum": [ "m.call.answer" ]
}
}
}