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.
50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"allOf": [{
|
|
"$ref": "core#/definitions/room_event"
|
|
}],
|
|
"properties": {
|
|
"content": {
|
|
"type": "object",
|
|
"properties": {
|
|
"call_id": {
|
|
"type": "string",
|
|
"description": "The ID of the call this event relates to."
|
|
},
|
|
"candidates": {
|
|
"type": "array",
|
|
"description": "Array of objects describing the candidates.",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"sdpMid": {
|
|
"type": "string",
|
|
"description": "The SDP media type this candidate is intended for."
|
|
},
|
|
"sdpMLineIndex": {
|
|
"type": "number",
|
|
"description": "The index of the SDP 'm' line this candidate is intended for."
|
|
},
|
|
"candidate": {
|
|
"type": "string",
|
|
"description": "The SDP 'a' line of the candidate."
|
|
}
|
|
},
|
|
"required": ["candidate", "sdpMLineIndex", "sdpMid"]
|
|
}
|
|
},
|
|
"version": {
|
|
"type": "integer",
|
|
"description": "The version of the VoIP specification this messages adheres to. This specification is version 0."
|
|
}
|
|
},
|
|
"required": ["call_id", "candidates", "version"]
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["m.call.candidates"]
|
|
}
|
|
}
|
|
}
|