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.
51 lines
2.1 KiB
Plaintext
51 lines
2.1 KiB
Plaintext
10 years ago
|
{
|
||
|
"type": "object",
|
||
10 years ago
|
"description": "This event is sent by callers after sending an invite and by the callee after answering. Its purpose is to give the other party additional ICE candidates to try using to communicate.",
|
||
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
|
},
|
||
|
"candidates": {
|
||
|
"type": "array",
|
||
10 years ago
|
"description": "Array of objects describing the candidates.",
|
||
10 years ago
|
"items": {
|
||
|
"type": "object",
|
||
10 years ago
|
"title": "Candidate",
|
||
10 years ago
|
"properties": {
|
||
|
"sdpMid": {
|
||
10 years ago
|
"type": "string",
|
||
|
"description": "The SDP media type this candidate is intended for."
|
||
10 years ago
|
},
|
||
|
"sdpMLineIndex": {
|
||
10 years ago
|
"type": "number",
|
||
|
"description": "The index of the SDP 'm' line this candidate is intended for."
|
||
10 years ago
|
},
|
||
|
"candidate": {
|
||
10 years ago
|
"type": "string",
|
||
|
"description": "The SDP 'a' line of the candidate."
|
||
10 years ago
|
}
|
||
|
},
|
||
|
"required": ["candidate", "sdpMLineIndex", "sdpMid"]
|
||
|
}
|
||
|
},
|
||
|
"version": {
|
||
10 years ago
|
"type": "integer",
|
||
|
"description": "The version of the VoIP specification this messages adheres to. This specification is version 0."
|
||
10 years ago
|
}
|
||
|
},
|
||
|
"required": ["call_id", "candidates", "version"]
|
||
|
},
|
||
|
"type": {
|
||
|
"type": "string",
|
||
|
"enum": ["m.call.candidates"]
|
||
|
}
|
||
|
}
|
||
|
}
|