Procházet zdrojové kódy

视频聊天功能-开发中

xie.bx před 3 roky
rodič
revize
7ec6f103ef
1 změnil soubory, kde provedl 4 přidání a 21 odebrání
  1. 4 21
      im-ui/src/components/chat/ChatPrivateVideo.vue

+ 4 - 21
im-ui/src/components/chat/ChatPrivateVideo.vue

@@ -48,31 +48,14 @@
 				state: 'NOT_CONNECTED',
 				candidates: [],
 				configuration: {
-					iceServers: [{
-							'url': 'stun:www.boxim.online:3478',
-							'credential': 'admin123',
-							'username': 'admin'
-						},
-						{
-							'url': 'turn:www.boxim.online:3478',
-							'credential': 'admin123',
-							'username': 'admin'
-						},
+					iceServers: [
 						{
 							url: 'stun:stun.l.google.com:19302'
 						},
 						{
-							url: 'stun:stun.anyfirewall.com:3478'
-						},
-						{
-							url: 'turn:turn.bistri.com:80',
-							credential: 'homeo',
-							username: 'homeo'
-						},
-						{
-							url: 'turn:turn.anyfirewall.com:443?transport=tcp',
-							credential: 'webrtc',
-							username: 'webrtc'
+							url: 'turn:www.boxim.online:3478',
+							credential: 'admin123',
+							username: 'admin'
 						}
 					]
 				}