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.
49 lines
1.9 KiB
YAML
49 lines
1.9 KiB
YAML
10 years ago
|
{
|
||
|
"type": "object",
|
||
10 years ago
|
"description": "This event is sent by the caller when they wish to establish a call.",
|
||
10 years ago
|
"allOf": [{
|
||
9 years ago
|
"$ref": "core-event-schema/room_event.yaml"
|
||
10 years ago
|
}],
|
||
|
"properties": {
|
||
|
"content": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"call_id": {
|
||
10 years ago
|
"type": "string",
|
||
6 years ago
|
"description": "A unique identifier for the call."
|
||
10 years ago
|
},
|
||
|
"offer": {
|
||
|
"type": "object",
|
||
10 years ago
|
"title": "Offer",
|
||
10 years ago
|
"description": "The session description object",
|
||
10 years ago
|
"properties": {
|
||
|
"type": {
|
||
|
"type": "string",
|
||
10 years ago
|
"enum": ["offer"],
|
||
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": "integer",
|
||
|
"description": "The version of the VoIP specification this message adheres to. This specification is version 0."
|
||
|
},
|
||
|
"lifetime": {
|
||
|
"type": "integer",
|
||
|
"description": "The time in milliseconds that the invite is valid for. Once the invite age exceeds this value, clients should discard it. They should also no longer show the call as awaiting an answer in the UI."
|
||
10 years ago
|
}
|
||
|
},
|
||
10 years ago
|
"required": ["call_id", "offer", "version", "lifetime"]
|
||
10 years ago
|
},
|
||
|
"type": {
|
||
|
"type": "string",
|
||
|
"enum": ["m.call.invite"]
|
||
|
}
|
||
|
}
|
||
|
}
|