diff --git a/src/components/Room/Room.tsx b/src/components/Room/Room.tsx index f50c923..730efad 100644 --- a/src/components/Room/Room.tsx +++ b/src/components/Room/Room.tsx @@ -39,6 +39,28 @@ export function Room({ trackerUrls: process.env.REACT_APP_TRACKER_URL ? [process.env.REACT_APP_TRACKER_URL] : undefined, + rtcConfig: { + iceServers: [ + { + urls: 'stun:openrelay.metered.ca:80', + }, + { + urls: 'turn:openrelay.metered.ca:80', + username: 'openrelayproject', + credential: 'openrelayproject', + }, + { + urls: 'turn:openrelay.metered.ca:443', + username: 'openrelayproject', + credential: 'openrelayproject', + }, + { + urls: 'turn:openrelay.metered.ca:443?transport=tcp', + username: 'openrelayproject', + credential: 'openrelayproject', + }, + ], + }, }, roomId )