mirror of
https://github.com/xtr-dev/rondevu-demo.git
synced 2025-12-10 02:43:23 +00:00
Switch to custom STUN/TURN servers at ronde.vu
This commit is contained in:
15
src/App.jsx
15
src/App.jsx
@@ -6,13 +6,18 @@ const API_URL = 'https://api.ronde.vu';
|
|||||||
|
|
||||||
const RTC_CONFIG = {
|
const RTC_CONFIG = {
|
||||||
iceServers: [
|
iceServers: [
|
||||||
{ urls: 'stun:stun.l.google.com:19302' },
|
|
||||||
{ urls: 'stun:stun1.l.google.com:19302' },
|
|
||||||
{
|
{
|
||||||
urls: 'turn:relay1.expressturn.com:3480',
|
urls: [
|
||||||
username: "ef13B1E5PH265HK1N2",
|
"stun:stun.ronde.vu:3478"
|
||||||
credential: "TTcTPEy3ndxsS0Gp",
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
urls: [
|
||||||
|
"turn:turn.ronde.vu:3478"
|
||||||
|
],
|
||||||
|
username: "ignored", // With static auth secret, username is ignored by Coturn
|
||||||
|
credential: "ignored" // Credential also ignored; long-term shared secret is used server-side
|
||||||
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user