Browse Source

视频聊天功能-开发中

xie.bx 3 năm trước cách đây
mục cha
commit
9f2e13f9c4
1 tập tin đã thay đổi với 7 bổ sung2 xóa
  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'
 						}