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.
46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"description": "This event is sent by the callee when they wish to answer the call.",
|
|
"allOf": [{
|
|
"$ref": "core/room_event.json"
|
|
}],
|
|
"properties": {
|
|
"content": {
|
|
"type": "object",
|
|
"properties": {
|
|
"call_id": {
|
|
"type": "string",
|
|
"description": "The ID of the call this event relates to."
|
|
},
|
|
"answer": {
|
|
"type": "object",
|
|
"title": "Answer",
|
|
"description": "The session description object",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["answer"],
|
|
"description": "The type of session description."
|
|
},
|
|
"sdp": {
|
|
"type": "string",
|
|
"description": "The SDP text of the session description."
|
|
}
|
|
},
|
|
"required": ["type", "sdp"]
|
|
},
|
|
"version": {
|
|
"type": "number",
|
|
"description": ""
|
|
}
|
|
},
|
|
"required": ["call_id", "answer", "version"]
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["m.call.answer"]
|
|
}
|
|
}
|
|
}
|