mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-10 02:43:23 +00:00
Update API URL to api.ronde.vu and simplify ICE config
- Change API URL from rondevu.xtrdev.workers.dev to api.ronde.vu - Remove TURN servers, use only Google STUN (eliminate errors) - Update README with correct API URL 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -182,7 +182,7 @@ The connection manager handles:
|
||||
|
||||
## Server Configuration
|
||||
|
||||
This demo connects to: `https://rondevu.xtrdev.workers.dev`
|
||||
This demo connects to: `https://api.ronde.vu`
|
||||
|
||||
To use a different server, modify `API_URL` in `src/App.jsx`:
|
||||
|
||||
|
||||
17
src/App.jsx
17
src/App.jsx
@@ -2,23 +2,12 @@ import React, {useState, useEffect} from 'react';
|
||||
import {Rondevu} from '@xtr-dev/rondevu-client';
|
||||
import toast, {Toaster} from 'react-hot-toast';
|
||||
|
||||
const API_URL = 'https://rondevu.xtrdev.workers.dev';
|
||||
const API_URL = 'https://api.ronde.vu';
|
||||
|
||||
const RTC_CONFIG = {
|
||||
iceServers: [
|
||||
{
|
||||
urls: "stun:stun.relay.metered.ca:80",
|
||||
},
|
||||
{
|
||||
urls: "turn:standard.relay.metered.ca:80",
|
||||
username: "e03a51621b4f11ffbed3addd",
|
||||
credential: "QPjJzPau1Ng5S0dq",
|
||||
},
|
||||
{
|
||||
urls: "turn:standard.relay.metered.ca:443",
|
||||
username: "e03a51621b4f11ffbed3addd",
|
||||
credential: "QPjJzPau1Ng5S0dq",
|
||||
},
|
||||
{ urls: 'stun:stun.l.google.com:19302' },
|
||||
{ urls: 'stun:stun1.l.google.com:19302' }
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user