Explorar el Código

视频聊天功能-开发中

xie.bx hace 3 años
padre
commit
dae362c978
Se han modificado 1 ficheros con 6 adiciones y 10 borrados
  1. 6 10
      im-ui/src/components/chat/ChatPrivateVideo.vue

+ 6 - 10
im-ui/src/components/chat/ChatPrivateVideo.vue

@@ -48,16 +48,12 @@
 				state: 'NOT_CONNECTED',
 				candidates: [],
 				configuration: {
-					iceServers: {
-						iceServers: [
-							{
-								'url': 'turn:www.boxim.online:3478',
-								'credential': "admin123",
-								'username': "admin"
-							}
-						],
-						sdpSemantics: 'plan-b'
-					}
+					iceServers: [{
+						'url': 'turn:www.boxim.online:3478',
+						'credential': "admin123",
+						'username': "admin"
+					}],
+					sdpSemantics: 'plan-b'
 				}
 			}
 		},