Skip to content

Commit

Permalink
Merge pull request #21 from algorandfoundation/chore/turn-server-fall…
Browse files Browse the repository at this point in the history
…back

chore: turn-server-fallback
  • Loading branch information
PhearZero authored May 31, 2024
2 parents cc56dd3 + 8eff420 commit abca8f2
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions sites/dapp-ui/src/components/ConnectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ export function ConnectModal({
color,
}: {
color?:
| 'inherit'
| 'primary'
| 'secondary'
| 'success'
| 'error'
| 'info'
| 'warning';
| 'inherit'
| 'primary'
| 'secondary'
| 'success'
| 'error'
| 'info'
| 'warning';
}) {
const { client, dataChannel } = useSignalClient();
const navigate = useNavigate();
Expand All @@ -58,6 +58,16 @@ export function ConnectModal({
'stun:stun2.l.google.com:19302',
],
},
{
urls: [
"turn:global.relay.metered.ca:80",
"turn:global.relay.metered.ca:80?transport=tcp",
"turn:global.relay.metered.ca:443",
"turns:global.relay.metered.ca:443?transport=tcp"
],
username: "fc7708976bf5d60be20c5a1d",
credential: "sVpEREQGGhXOw4gX",
},
],
iceCandidatePoolSize: 10,
})
Expand Down

0 comments on commit abca8f2

Please sign in to comment.