xiangpei
2024-03-26 dd36e59f6ef5057dc6334ebb2a8e492c9786b04c
src/views/meeting/index.vue
@@ -82,25 +82,14 @@
      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+'%',
      width: '100%',
      height: '100%',
      lang: 'zh_CN',
      parentNode: document.querySelector('#meet'),
      configOverwrite: {
        disableSsl: true
      },
      userInfo: { displayName: this.userName }
    };
    // const connection = new JitsiMeetJS.JitsiConnection('123', null, options);