mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
57 lines
2 KiB
YAML
57 lines
2 KiB
YAML
{
|
|
"type": "object",
|
|
"description": "This event is sent by the callee when they wish to answer the call.",
|
|
"allOf": [{
|
|
"$ref": "core-event-schema/room_event.yaml"
|
|
}],
|
|
"properties": {
|
|
"content": {
|
|
"type": "object",
|
|
"allOf": [{
|
|
"$ref": "core-event-schema/call_event.yaml"
|
|
}],
|
|
"properties": {
|
|
"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"]
|
|
},
|
|
"sdp_stream_metadata": {
|
|
"type": "object",
|
|
"title": "SDP Stream Metadata",
|
|
"x-addedInMatrixVersion": "1.7",
|
|
"description": "Object describing the streams that will be sent",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"title": "Stream Metadata Block",
|
|
"properties": {
|
|
"purpose": {
|
|
"type": "string",
|
|
"enum": ["m.usermedia", "m.screenshare"]
|
|
}
|
|
},
|
|
"required": ["purpose"]
|
|
}
|
|
}
|
|
},
|
|
"required": ["answer"]
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["m.call.answer"]
|
|
}
|
|
}
|
|
}
|