瀏覽代碼

视频聊天功能-开发中

xie.bx 3 年之前
父節點
當前提交
b51b9ee943
共有 1 個文件被更改,包括 4 次插入2 次删除
  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"
 					}]