fix: force relays instead of local connections

This commit is contained in:
2025-11-06 16:34:03 +01:00
parent 953da59ca7
commit b63e3e83aa
2 changed files with 2 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ const { send } = useWebSocket(wsUrl, {
credential: 'password',
},
],
iceTransportPolicy: 'relay',
});
viewerStore.setPeerConnection(peerConnection);

View File

@@ -53,6 +53,7 @@ const { send } = useWebSocket(wsUrl, {
credential: 'password',
},
],
iceTransportPolicy: 'relay',
});
streamerStore.addPeerConnection(message.viewerId, peerConnection)