The ICE Servers module allows administrators to configure the STUN and TURN servers used during WebRTC sessions.
These servers are essential for establishing reliable peer-to-peer media connections, especially when users are behind NATs or firewalls.

1. Understanding ICE Servers #
ICE (Interactive Connectivity Establishment) is a framework used by WebRTC to discover the best possible communication path between peers.
It relies on STUN and TURN servers:
Server Type | Description |
---|---|
STUN (Session Traversal Utilities for NAT) | Helps clients discover their public IP address and NAT type, allowing direct peer-to-peer communication whenever possible. |
TURN (Traversal Using Relays around NAT) | Relays audio and video traffic when direct connection is not possible. This ensures communication even in restrictive network environments. |
Tip: It’s recommended to configure at least one STUN and one TURN server for optimal reliability and connectivity.
2. Access the ICE Servers Module #
- Log in to the VitXi Administrator Panel.
- Navigate to Management → ICE Servers.
- The configuration screen will display the available ICE Server slots.
3. Configuring ICE Servers #
In this section, you can specify the URLs of the servers that VitXi will use for ICE negotiations.
This configuration is global, meaning it will apply to all users across all tenants.
Example Configuration: #
Field | Example Value |
---|---|
STUN or TURN URI (1) | stun:stun1.l.google.com:19302 |
STUN or TURN URI (2) | stun:stun2.l.google.com:19305 |
Important: You must specify at least two URLs to ensure redundancy and improve connection reliability.
If your TURN server requires authentication:
- Enable the Authentication checkbox.
- Enter the Username and Password credentials.
You can also add more servers by clicking “+ Add Secondary Server.”
4. Recommended Public STUN/TURN Servers #
You can use public STUN servers for testing, but for production environments, it’s best to use your own or trusted third-party TURN servers.
Public STUN Examples #
stun:stun1.l.google.com:19302
stun:stun2.l.google.com:19305
stun:stun3.l.google.com:19302
TURN Example (with authentication) #
turn:turn.yourdomain.com:3478
Username: your_user
Password: your_password
For best performance, host your TURN server geographically close to your users or PBX to minimize latency.
5. Save and Apply #
Once all ICE server URLs and credentials have been entered:
- Click Save to apply your configuration.
- VitXi will begin using these ICE servers for all new WebRTC sessions immediately.