okay fixed not working without trickle, now test trickle

This commit is contained in:
talksik
2022-05-19 11:56:58 -05:00
parent d58a628589
commit 91093bff41
@@ -244,9 +244,9 @@ function LineConnector({
const connectingToast = toast.loading('calling peer for a snappy experience'); const connectingToast = toast.loading('calling peer for a snappy experience');
const localPeerConnection = new Peer({ const localPeerConnection = new Peer({
initiator: false, initiator: true,
stream: localMediaStream, stream: localMediaStream,
trickle: true, // prevents the multiple tries on different ice servers and signal from getting called a bunch of times, trickle: false, // prevents the multiple tries on different ice servers and signal from getting called a bunch of times,
config: { config: {
iceServers, iceServers,
}, },