Network Connectivity Requirements
Photo Source: Freepik. Creative Commons
The following article outlines Video RTC and Mobile SDKs’ requirements for network connectivity. It lists the Interactive Powers CPaaS servers’ ports and IP addresses that the Widgets, Webclients or SDKs must be able to reach, and the bandwidth required for quality audio & video. As shown in the diagram below, two types of connections are required, Signalling and Media for Users and Agents sides.
Connectivity checklist
- Choose a network you will connect to and allow RTC and ACD services
- If you are using Global Low Latency edge, check bellow requirements
- Ensure you meet the bandwidth requirements
- Check the recommendations and best practices
- Test your connectivity using our Tester tool
Agent Connectivity
Agents require both RTC and ACD connectivity to our CPaaS infrastructure to be able to place and receive calls or videocalls. The Signalling connection is a secure TLS connection that is used for sending and receiving control information to set up calls and the Media connection is a secure SRTP (Secure Real-time Transport Protocol) connection that is used to send and receive Audio & Video.
In a typical organization network setup, a firewall is used to protect the private network hosts from the Internet. Firewalls are configured with rules to block or allow traffic to and from Internet destinations based on direction, protocol, and IP address. You have to set the following ports:
RTC Firewall Rules (Video Streams)
Destination IP | Type | Port Range | Description |
---|---|---|---|
RTC | TCP | 80 | HTTP - Web Access (Forwarded) |
RTC | TCP | 443 | HTTPS - Secure Web Access |
RTC | TCP | 8989 | Websocket - Video GW (Recommended) |
RTC | TCP | 8089 | HTTPS-API - Video GW (Alternative) |
RTC | UDP | 19099 … 20099 | RTP Media (Video) (1) |
(1) RTP Media ports can be forwarded by STUN/TURN servers, to passthrough the router NAT (no recommended for Agents). If your network has a restrictive firewall you can avoid to set RTP ports range.
ICE Firewall Rules (STUN/TURN Servers)
Destination IP | Type | Port Range | Description |
---|---|---|---|
ICE | TCP UDP | 80 | STUN/TURN |
ICE | TCP UDP | 443 | STUN/TURN (TLS) |
ICE | UDP | 19099 … 20099 | RTP Media |
ACD Firewall Rules (Audio Streams)
Destination IP | Type | Port Range | Description |
---|---|---|---|
ACD | TCP | 80 | HTTP - Web Access (Forwarded) |
ACD | TCP | 443 | HTTPS - Secure Web Access |
ACD | TCP | 8089 | Websocket - Voice over IP (Required) |
ACD | UDP | 10000 … 20000 | RTP Media (Audio) (2) |
(2) RTP Media ports can be forwarded by STUN/TURN servers, to passthrough the router NAT (no recommended for Agents). If your network has a restrictive firewall you can avoid to set RTP ports range.
User Connectivity
Users require RTC connectivity to our CPaaS infrastructure to be able to place and receive calls or videocalls. In a typical organization network setup, a firewall is used to protect the private network hosts from the Internet. Firewalls are configured with rules to block or allow traffic to and from Internet destinations based on direction, protocol, and IP address. You have to set the following ports:
RTC Firewall Rules (Audio & Video Streams)
Destination IP | Type | Port Range | Description |
---|---|---|---|
RTC | TCP | 80 | HTTP - Web Access (Forwarded) |
RTC | TCP | 443 | HTTPS - Secure Web Access |
RTC | TCP | 8989 | Websocket - Video GW (Recommended) |
RTC | TCP | 8089 | HTTPS-API - Video GW (Alternative) |
RTC | UDP | 19099 … 20099 | RTP Media (Audio & Video) (3) |
(3) RTP Media ports can be forwarded by STUN/TURN servers, to passthrough the router NAT. If your network has a restrictive firewall you can avoid to set RTP ports range.
ICE Firewall Rules (STUN/TURN Servers)
Destination IP | Type | Port Range | Description |
---|---|---|---|
ICE | TCP UDP | 80 | STUN/TURN |
ICE | TCP UDP | 443 | STUN/TURN (TLS) |
ICE | UDP | 19099 … 20099 | RTP Media |
Network Bandwidth Requirements
The following table lists the minimal network requirements to deliver reasonable audio and video quality.
Network Parameter | Requirement |
---|---|
Audio Bandwidth (Uplink/Downlink) | 40 kbps / 40 kbps (Opus) (4) |
Audio & Video Bandwidth (Uplink/Downlink) | 80 kbps / 80 kbps (Opus/VP8*) (5) |
Latency (RTT) | < 300ms |
Jitter | < 50ms |
Packet Loss | < 1,5 % |
(4) (5) Opus, VP8 codecs are both available for RTC and ACD services.
Interactive Powers - Streamline your business communications