吉安感知网项目-前端
shuishen
8 days ago cb0a84d329722a05ccc8b4e5c6e5286d96b84940
feat:嵌入页配置修改
1 files modified
9 ■■■■ changed files
applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue 9 ●●●● patch | view | raw | blame | history
applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue
@@ -189,7 +189,14 @@
function createPC() {
    pc = new RTCPeerConnection({
        iceServers: [{ urls: 'stun:stun.l.google.com:19302' }],
        iceServers: [{ urls: 'stun:stun.l.google.com:19302' },
            { urls: 'stun:stun.l.google.com:19302' },
            { urls: 'stun:stun1.l.google.com:19302' },
            { urls: 'stun:stun.stunprotocol.org:3478' },
            // 添加多个公共TURN服务器以提高跨网络连接成功率
            { urls: ['turn:freeturn.net:80', 'turn:freeturn.net:443'], username: 'free', credential: 'free' },
            // 备用TURN服务器
            { urls: 'turn:turn.cloudlifter.io:443', username: 'webrtc', credential: 'webrtc' }],
    })
    pc.onicecandidate = (e) => {