瀏覽代碼

视频聊天功能-开发中

xie.bx 3 年之前
父節點
當前提交
9f2e13f9c4
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7 2
      im-ui/src/components/chat/ChatPrivateVideo.vue

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

@@ -50,10 +50,15 @@
 				configuration: {
 					iceServers: [
 						{
-							url: 'stun:stun.l.google.com:19302'
+							urls: 'stun:stun.l.google.com:19302'
 						},
 						{
-							url: 'turn:www.boxim.online:3478',
+							urls: 'turn:www.boxim.online:3478',
+							credential: 'admin123',
+							username: 'admin'
+						},
+						{
+							urls: 'stun:www.boxim.online:3478',
 							credential: 'admin123',
 							username: 'admin'
 						}