The protocol described in this article is used between the PBX conference object in the PBX and a conference interface. It's purpose is to handle additional calls from a client endpoint to the conference interface. This calls are established to handle more than one video streams from the conference interface. The following facility messages are currently known:
Depending on the value of the type property, different objects are defined. The following types are known:
video_setup | Video setup |
video_conn | Video connect |
This facility marks the call as a video call, informs about the direction and requests optionally a individual video stream with a given id. The bitrate argument informs about the own quality capability or the quality of a requested stream.
{
"type": "video_setup",
"mode": Video Direction Mode,
"guid": string,
"id": unsigned,
"bitrate": unsigned,
}
This is a string defining the mode of the video direction. The following values are defined for this property:
send | The call sends only video. |
recv | The call receives only video. |
sendrecv | The call sends and receives video. |
This facility informs about the guid and video stream id and is an optional response to a created video channel or a message to set the requested stream quality.
{
"type": "video_conn",
"guid": string,
"id": unsigned,
"bitrate": unsigned,
}