VideoServer Carbonio

VideoServer Carbonio

The speed of Carbonio Chats is enhanced by the Carbonio VideoServer, a WebRTC stream aggregator that combines and decodes/reencodes all streams in a Meeting.

With the Carbonio VideoServer, each client will only have one aggregated inbound stream and one aggregate outbound stream, as opposed to the default WebRTC, which produces one incoming and one outgoing stream for each meeting participant. Both audio and video fall under this.


In our simple scenario, 5 people are participating in a meeting.

  • Without Carbonio VideoServer: each client generates 4x outgoing video/audio streams and receives 4 incoming video/audio streams

  • With Carbonio VideoServer: each client generates 1 outgoing video/audio stream and receives 1 incoming video/audio stream

In summary:

Carbonio VideoServer

Incoming Connections

Outgoing Connections


4 (1 from each other client)

4 (1 to each other client)




To achieve the greatest level of compatibility, the Carbonio VideoServer employs conservative codecs by default (VP8 and Opus), however more codecs can be enabled. Additionally, it divides the Webcam and Screen Sharing streams and allots the same amount of bandwidth to each.

As long as all clients can access the Carbonio VideoServer’s public IP and UDP traffic is not blocked, a correctly configured Carbonio VideoServer will eliminate the requirement for a TURN server.


The Carbonio VideoServer has the following prerequisites and has to be deployed on a dedicated server:

  • Minimum 4 CPU cores, suggested at least 8 to handle more than 100 users at the same time

  • 1024mb of ram + 1mb of ram for each connected user


The Carbonio VideoServer mainly scales on the CPU, so more CPU cores and power means more connected users.

  • A public IP address. This is either the IP address of Carbonio VideoServer, if it is directly accessible from remote clients on the Internet, or—if there is a NAT-ting device in front of it (e.g., a firewall or router)–the IP address with which the Carbonio VideoServer is reachable.

  • A publicly resolvable FQDN

  • With the default settings, 200kb/s (0.2 mb/s) bandwidth for each connected user

  • WebSockets

  • The mailbox server will establish a WebSocket on port 8188 (TCP) to communicate with the Carbonio VideoServer

  • Connecting browsers will use a random UDP port between 20000 and 40000 on the public IP of the Carbonio VideoServer


The Carbonio VideoServer installer requires the fully qualified hostname to be correctly configured in /etc/hosts and /etc/hostname. Failing to comply will likely cause the sample commands provided at the end of the installation to be incorrect.

Installation of the Carbonio VideoServer

Please refer to the relevant Step for further information because Carbonio VideoServer installation has been relocated as part of the main installation.