wkw 1 mês atrás
pai
commit
81359e3ee5
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      src/stores/modules/webrtcStore.js

+ 6 - 0
src/stores/modules/webrtcStore.js

@@ -38,6 +38,12 @@ export const useWebRTCStore = defineStore("webrtc", {
     config: {
       iceServers: [
         { urls: "stun:stun.l.google.com:19302" },
+        { urls: "stun:stun.xten.com" },
+        { urls: "stun:stun1.l.google.com:19302" },
+        { urls: "stun:stun2.l.google.com:19302" },
+        { urls: "stun:stun3.l.google.com:19302" },
+        { urls: "stun:stun4.l.google.com:19302" },
+        { urls: "turn:8.216.131.56:3478",username:'admin',credential:'123456' },
         // 可以添加更多 STUN/TURN 服务器
       ],
     },