소스 검색

视频聊天功能-开发中

xie.bx 3 년 전
부모
커밋
dae362c978
1개의 변경된 파일6개의 추가작업 그리고 10개의 파일을 삭제
  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'
 				}
 			}
 		},