Enable ICE trickling for faster connections
This commit is contained in:
parent
09e423fd56
commit
8b0013be08
@ -136,7 +136,7 @@ function useSession(
|
|||||||
function addPeer(id, initiator, sync) {
|
function addPeer(id, initiator, sync) {
|
||||||
const connection = new Peer({
|
const connection = new Peer({
|
||||||
initiator,
|
initiator,
|
||||||
trickle: false,
|
trickle: true,
|
||||||
config: { iceServers },
|
config: { iceServers },
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user