mejorar configuración stun/turn

esto arregla problemas en vanadium
This commit is contained in:
Cat /dev/Nulo 2023-03-06 00:07:46 +00:00
parent 063f3c20bb
commit d9a38efebb

View file

@ -37,16 +37,11 @@ export function getWorldY(world: WorldIdentifier): WorldY {
peerOpts: {
config: {
iceServers: [
{ urls: "stun:stun.l.google.com:19302" },
{ urls: "stun:global.stun.twilio.com:3478?transport=udp" },
// { urls: "stun:stun.l.google.com:19302" },
// { urls: "stun:global.stun.twilio.com:3478?transport=udp" },
{
urls: "stun:relay.metered.ca:80",
},
{
urls: "turn:relay.metered.ca:80",
username: "7aec233ea46fa835147308ae",
credential: "c0eTB5pqj9vOxhii",
},
{
urls: "turn:relay.metered.ca:443",
username: "7aec233ea46fa835147308ae",