From 35e2e16f92ca4932407ed16783d17e06e2bdae0b Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期一, 28 十月 2024 17:13:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/meet/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/meet/index.vue b/src/views/meet/index.vue
index 5f0af13..6fef657 100644
--- a/src/views/meet/index.vue
+++ b/src/views/meet/index.vue
@@ -278,13 +278,15 @@
     this.jitsiApi.addListener('readyToClose', () => {
       window.close()
     })
+    // 鍒濆鍖�
+    this.initWebSocket()
     // 姣忎笁绉掓洿瀛﹀憳鍦ㄧ嚎鐘舵��
     this.intervalId = setInterval(() => {
       this.getRoomInfo()
+      // 鍙戦�佸績璺虫暟鎹�
+      this.ws.send('ping')
     }, 2500)
 
-    // 鍒濆鍖�
-    this.initWebSocket()
   },
   beforeDestroy () {
     // 娓呴櫎瀹氭椂鍣紝閬垮厤鍐呭瓨娉勬紡

--
Gitblit v1.8.0