From f11055c67dcfff42d432ef205f2e662846a0a243 Mon Sep 17 00:00:00 2001 From: "xie.bx" Date: Fri, 25 Nov 2022 16:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E8=81=8A=E5=A4=A9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD-=E5=BC=80=E5=8F=91=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-ui/src/components/chat/ChatPrivateVideo.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/im-ui/src/components/chat/ChatPrivateVideo.vue b/im-ui/src/components/chat/ChatPrivateVideo.vue index d036654..9d9430c 100644 --- a/im-ui/src/components/chat/ChatPrivateVideo.vue +++ b/im-ui/src/components/chat/ChatPrivateVideo.vue @@ -48,13 +48,16 @@ state: 'NOT_CONNECTED', candidates: [], configuration: { - iceServers: [ - { 'url': 'stun:stun.l.google.com:19302' }, - { - 'url': 'turn:www.boxim.online:3478', - 'credential': "admin123", - 'username': "admin" - }] + iceServers: { + iceServers: [ + { + 'url': 'turn:www.boxim.online:3478', + 'credential': "admin123", + 'username': "admin" + } + ], + sdpSemantics: 'plan-b' + } } } },