diff --git a/lib/remote-capture.html b/lib/remote-capture.html index c8afbdf..0b47b01 100644 --- a/lib/remote-capture.html +++ b/lib/remote-capture.html @@ -34,7 +34,9 @@ async function getCaptureStream() { async function handleOffer(clientId, offer, role) { const stream = await getCaptureStream(); - const pc = new RTCPeerConnection({ iceServers: [] }); + const pc = new RTCPeerConnection({ + iceServers: [{ urls: 'stun:stun.l.google.com:19302' }] + }); clients.set(clientId, { pc, role }); // Add video tracks