mirror of
https://github.com/SrIzan10/helium.git
synced 2026-06-06 00:56:58 +00:00
fix: force relays instead of local connections
This commit is contained in:
@@ -50,6 +50,7 @@ const { send } = useWebSocket(wsUrl, {
|
||||
credential: 'password',
|
||||
},
|
||||
],
|
||||
iceTransportPolicy: 'relay',
|
||||
});
|
||||
viewerStore.setPeerConnection(peerConnection);
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ const { send } = useWebSocket(wsUrl, {
|
||||
credential: 'password',
|
||||
},
|
||||
],
|
||||
iceTransportPolicy: 'relay',
|
||||
});
|
||||
streamerStore.addPeerConnection(message.viewerId, peerConnection)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user