From 6607495822769fcc9f6b7227054b01a324d93884 Mon Sep 17 00:00:00 2001 From: unadlib Date: Thu, 2 Jan 2025 02:27:26 +0800 Subject: [PATCH] chore(example): update webrtc example --- examples/webrtc/src/index.ts | 3 +++ examples/webrtc/src/other.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/examples/webrtc/src/index.ts b/examples/webrtc/src/index.ts index f90c132..ff30f03 100644 --- a/examples/webrtc/src/index.ts +++ b/examples/webrtc/src/index.ts @@ -29,6 +29,9 @@ const init = () => { const peer = new SimplePeer({ initiator: true, trickle: false, + config: { + iceServers: [], + } }); peer.on('signal', (data) => { diff --git a/examples/webrtc/src/other.ts b/examples/webrtc/src/other.ts index 729e063..81ab434 100644 --- a/examples/webrtc/src/other.ts +++ b/examples/webrtc/src/other.ts @@ -22,6 +22,9 @@ const init = () => { const peer = new SimplePeer({ initiator: false, trickle: false, + config: { + iceServers: [], + } }); peer.on('signal', (data) => {