Enable ICE trickling for faster connections

This commit is contained in:
Mitchell McCaffrey 2020-05-22 22:22:22 +10:00
parent 09e423fd56
commit 8b0013be08

View File

@ -136,7 +136,7 @@ function useSession(
function addPeer(id, initiator, sync) {
const connection = new Peer({
initiator,
trickle: false,
trickle: true,
config: { iceServers },
});