You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
10 years ago
|
{
|
||
|
"type": "object",
|
||
10 years ago
|
"description": "This event is sent by the callee when they wish to answer the call.",
|
||
10 years ago
|
"allOf": [{
|
||
9 years ago
|
"$ref": "core-event-schema/room_event.json"
|
||
10 years ago
|
}],
|
||
|
"properties": {
|
||
|
"content": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"call_id": {
|
||
10 years ago
|
"type": "string",
|
||
|
"description": "The ID of the call this event relates to."
|
||
10 years ago
|
},
|
||
|
"answer": {
|
||
|
"type": "object",
|
||
10 years ago
|
"title": "Answer",
|
||
10 years ago
|
"description": "The session description object",
|
||
10 years ago
|
"properties": {
|
||
|
"type": {
|
||
|
"type": "string",
|
||
10 years ago
|
"enum": ["answer"],
|
||
10 years ago
|
"description": "The type of session description."
|
||
10 years ago
|
},
|
||
|
"sdp": {
|
||
10 years ago
|
"type": "string",
|
||
|
"description": "The SDP text of the session description."
|
||
10 years ago
|
}
|
||
|
},
|
||
|
"required": ["type", "sdp"]
|
||
|
},
|
||
|
"version": {
|
||
10 years ago
|
"type": "number",
|
||
|
"description": ""
|
||
10 years ago
|
}
|
||
|
},
|
||
|
"required": ["call_id", "answer", "version"]
|
||
|
},
|
||
|
"type": {
|
||
|
"type": "string",
|
||
|
"enum": ["m.call.answer"]
|
||
|
}
|
||
|
}
|
||
|
}
|