Conference protocol

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:

Facility objects

Depending on the value of the type property, different objects are defined. The following types are known:

video_setupVideo setup
video_connVideo connect

Video setup facility

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,
}

Video Direction Mode

This is a string defining the mode of the video direction. The following values are defined for this property:

sendThe call sends only video.
recvThe call receives only video.
sendrecvThe call sends and receives video.

Video connect facility

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,
}