mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-10 10:53:22 +00:00
Add Google STUN servers for reliability
Added Google STUN servers alongside metered.ca for maximum reliability. Google STUN always works and ensures basic NAT traversal even if TURN servers fail. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,9 +6,14 @@ const API_URL = 'https://api.ronde.vu';
|
||||
|
||||
const RTC_CONFIG = {
|
||||
iceServers: [
|
||||
// Google STUN - reliable and always works
|
||||
{ urls: 'stun:stun.l.google.com:19302' },
|
||||
{ urls: 'stun:stun1.l.google.com:19302' },
|
||||
// Metered.ca STUN
|
||||
{
|
||||
urls: "stun:stun.relay.metered.ca:80",
|
||||
},
|
||||
// Metered.ca TURN servers (for restrictive NATs)
|
||||
{
|
||||
urls: "turn:standard.relay.metered.ca:80",
|
||||
username: "e03a51621b4f11ffbed3addd",
|
||||
|
||||
Reference in New Issue
Block a user