Add second STUN server from Cloudflare

This commit is contained in:
Alex X
2025-12-01 14:18:45 +03:00
parent fbd5215669
commit 7eb5fe0355
6 changed files with 30 additions and 17 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
<script>
async function PeerConnection(media) {
const pc = new RTCPeerConnection({
iceServers: [{urls: 'stun:stun.l.google.com:19302'}]
iceServers: [{urls: ['stun:stun.cloudflare.com:3478', 'stun:stun.l.google.com:19302']}]
});
document.getElementById('video').srcObject = new MediaStream([