diff --git a/examples/p2p-webrtc/voice-agent/index.html b/examples/p2p-webrtc/voice-agent/index.html index ddc873398..e0250a58f 100644 --- a/examples/p2p-webrtc/voice-agent/index.html +++ b/examples/p2p-webrtc/voice-agent/index.html @@ -24,7 +24,7 @@ let connected = false let peerConnection = null - const waitForIceGatheringComplete = async (pc, timeoutMs = 5000) => { + const waitForIceGatheringComplete = async (pc, timeoutMs = 2000) => { if (pc.iceGatheringState === 'complete') return; console.log("Waiting for ICE gathering to complete..."); return new Promise((resolve) => {