From 88c2acd1b100f9b047a35b6ff0dbaa827fd08568 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 26 三月 2024 15:07:30 +0800 Subject: [PATCH] 在线会议修改 --- src/views/meeting/list.vue | 29 ++++++++--------------------- 1 files changed, 8 insertions(+), 21 deletions(-) diff --git a/src/views/meeting/list.vue b/src/views/meeting/list.vue index 4c30a8a..6fa8cc7 100644 --- a/src/views/meeting/list.vue +++ b/src/views/meeting/list.vue @@ -81,29 +81,16 @@ this.userName = re.response.userName console.log(this.userInfo, this.roomName, this.userName) }) - // JitsiMeetJS.init(); - // const options = { - // serviceUrl:'https://124.222.18.104:8443/http-bind', - // hosts: { - // domain: 'https://124.222.18.104:8443/', - // muc: 'conference.meet.jit.si', - // }, - // bosh: 'https://124.222.18.104:8443/http-bind', - // useStunTurn: true - // } - const domain = '124.222.18.104:8443'; + const domain = '101.35.247.188:8443'; const options = { - roomName: this.roomName, - width: 100+'%', - height: 100+'%', - parentNode: document.querySelector('#meet'), - configOverwrite: { - disableSsl: true - }, - userInfo: { displayName: this.userName } + roomName: this.roomName, // 浼氳鎴块棿鍚嶇О + width: '100%', + height: '100%', + lang: 'zh_CN', + parentNode: document.querySelector('#meet'), // 鎸傝浇鐨勮妭鐐� + userInfo: { displayName: this.userName } // 鍙備笌浜虹殑鐩稿叧淇℃伅锛屼竴涓猨s瀵硅薄灏辫锛屽唴瀹规棤闄愬埗 }; - // const connection = new JitsiMeetJS.JitsiConnection('123', null, options); - + // 鍒涘缓 Jitsi Meet API 瀵硅薄 const api = new JitsiMeetExternalAPI(domain, options); // this.meet = new JitsiMeet( -- Gitblit v1.8.0