Files
upstream-jitsi-videobridge/doc/datachannel-communication.md
upstream-mirror e1257b7a05
Some checks failed
Java CI with Maven / Java 17 (push) Failing after 7m2s
Java CI with Maven / Java 21 (push) Failing after 5m0s
snapshot of https://github.com/jitsi/jitsi-videobridge.git @ fcbf741c646bc237d2ed85a1e86910532532b831 (2026-09-15)
2026-09-15 16:12:38 +05:00

937 B

Messages by COLIBRI class:

EndpointMessage:

This type of messages could be used by the clients for sending JSON objects to the other clients in the conference. A client can send a message to specific endpoint or a broadcast message.

  • The messages processed by Jitsi Videobridge has the following format:
{
    colibriClass: "EndpointMessage",  
    to: `<ENDPOINT-ID>`,   
    msgPayload: `<PAYLOAD>`  
}

<PAYLOAD> is valid JSON string.
<ENDPOINT-ID> is endpoint id of existing participant or "" for broadcast message.

  • The messages sent by Jitsi Videobridge has the following format:
{
    colibriClass: "EndpointMessage",
    to: `<ENDPOINT-ID>`,
    from: `<ENDPOINT-ID>`,
    msgPayload: <PAYLOAD>
}

The only modification made by Jitsi Videobridge before the message is forwarded is adding from property to it. The value of this property is the endpoint id of the sender of the message.