mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-10 18:53:24 +00:00
Use metered.ca ICE servers with all transport options
- metered.ca STUN server - TURN on port 80 (UDP and TCP) - TURN on port 443 (UDP) - TURNS on port 443 (TCP/TLS) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
22
src/App.jsx
22
src/App.jsx
@@ -6,14 +6,30 @@ const API_URL = 'https://api.ronde.vu';
|
||||
|
||||
const RTC_CONFIG = {
|
||||
iceServers: [
|
||||
{ urls: 'stun:stun.l.google.com:19302' },
|
||||
{ urls: 'stun:stun1.l.google.com:19302' },
|
||||
{
|
||||
urls: "stun:stun.relay.metered.ca:80",
|
||||
},
|
||||
{
|
||||
urls: "turn:standard.relay.metered.ca:80",
|
||||
username: "e03a51621b4f11ffbed3addd",
|
||||
credential: "QPjJzPau1Ng5S0dq",
|
||||
},
|
||||
{
|
||||
urls: "turn:standard.relay.metered.ca:80?transport=tcp",
|
||||
username: "e03a51621b4f11ffbed3addd",
|
||||
credential: "QPjJzPau1Ng5S0dq",
|
||||
},
|
||||
{
|
||||
urls: "turn:standard.relay.metered.ca:443",
|
||||
username: "e03a51621b4f11ffbed3addd",
|
||||
credential: "QPjJzPau1Ng5S0dq",
|
||||
},
|
||||
]
|
||||
{
|
||||
urls: "turns:standard.relay.metered.ca:443?transport=tcp",
|
||||
username: "e03a51621b4f11ffbed3addd",
|
||||
credential: "QPjJzPau1Ng5S0dq",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default function App() {
|
||||
|
||||
Reference in New Issue
Block a user