From b30568afb0dbe34944e45e549d8b0da98edfc98d Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 29 十月 2024 14:37:19 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/meet/index.vue |   44 ++++++++++++++++++++++----------------------
 1 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/src/views/meet/index.vue b/src/views/meet/index.vue
index 14a0d0a..dca381c 100644
--- a/src/views/meet/index.vue
+++ b/src/views/meet/index.vue
@@ -21,7 +21,7 @@
 onMounted(() => {
   const width = window.innerWidth;
   const height = window.innerHeight;
-  const domain = 'www.kgmeet.com:8443/' + id;
+  const domain = 'ycl.easyblog.vip:8443/' + id;
   const options = {
     roomName: meetName,
     width: width,
@@ -55,7 +55,7 @@
         ]
       },
       ModeratorIndicator: true,
-      startSilent: false,
+      // startSilent: true,
       //绂佺敤鏀瑰悕
       readOnlyName: true,
       //鍙備細鑰呭悕鍗�
@@ -130,7 +130,7 @@
   jitsiInit();
 
   // 杩炴帴webscoket
-  connect();
+  // connect();
 });
 
 const jitsiInit = () => {
@@ -139,26 +139,26 @@
   });
 }
 
-const {status, message, error, connect, disconnect, sendMessage} = useWebScoket({
-  url: 'wss://www.kgmeet.com:18443/websocket/' + userInfo._rawValue.id,
-  heartBeatData: 'ping'
-});
+// const {status, message, error, connect, disconnect, sendMessage} = useWebScoket({
+//   url: 'wss://ycl.easyblog.vip:82/websocket/' + userInfo._rawValue.id,
+//   heartBeatData: 'ping'
+// });
 
-watch(
-    () => message.value,
-    (msg) => {
-      console.log('msg', msg.commend);
-      if (msg.commend === 'kickOut') {
-        jitsiApi.executeCommand('hangup');
-      }
-      if (msg.commend === 'mute') {
-        jitsiApi.executeCommand('toggleAudio');
-      }
-      if (msg.commend === 'openCamera') {
-        jitsiApi.executeCommand('toggleVideo');
-      }
-    }
-);
+// watch(
+//     () => message.value,
+//     (msg) => {
+//       console.log('msg', msg.commend);
+//       if (msg.commend === 'kickOut') {
+//         jitsiApi.executeCommand('hangup');
+//       }
+//       if (msg.commend === 'mute') {
+//         jitsiApi.executeCommand('toggleAudio');
+//       }
+//       if (msg.commend === 'openCamera') {
+//         jitsiApi.executeCommand('toggleVideo');
+//       }
+//     }
+// );
 
 
 </script>

--
Gitblit v1.8.0