Explorar o código

视频聊天功能-开发中

xie.bx %!s(int64=3) %!d(string=hai) anos
pai
achega
b51b9ee943
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      im-ui/src/components/chat/ChatPrivateVideo.vue

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

@@ -48,8 +48,10 @@
 				state: 'NOT_CONNECTED',
 				candidates: [],
 				configuration: {
-					iceServers: [{
-						'urls': 'turn:www.boxim.online:3478',
+					iceServers: [
+						{ 'url': 'stun:stun.l.google.com:19302' },
+						{
+						'url': 'turn:www.boxim.online:3478',
 						'credential': "admin123",
 						'username': "admin"
 					}]