ucservice 1.1.9 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14242,7 +14242,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14242
14242
  let janusUrl = me._opts.conf.janusUrl;
14243
14243
  checkIsHttps() && (janusUrl = janusUrl.replace('ws:', 'wss:'));
14244
14244
  me._opts.janus = new Janus({
14245
- server: janusUrl.indexOf("127.0.0.1") == -1 ? janusUrl : janusUrl.split("//")[0] + "//" + location.hostname + ":" + janusUrl.split(":")[2],
14245
+ // server: janusUrl.indexOf("127.0.0.1") == -1 ? janusUrl : janusUrl.split("//")[0] + "//" + (location.hostname)+":"+janusUrl.split(":")[2],
14246
+ //使用项目必须定义window.janusHttpsHost来适应https
14247
+ server: location.protocol == "https:" ? janusUrl.split("//")[0] + "//" + "112.124.244.179:9999" + "/janus/" : janusUrl,
14246
14248
  success: function () {
14247
14249
  console.log("Janus服务连接成功!");
14248
14250
 
@@ -30181,7 +30183,7 @@ const initVideo = function (token, videoArea, videoOpts_, sip) {
30181
30183
  //初始化时的界面显示的分屏树
30182
30184
  windows: 4,
30183
30185
  //共有哪几种分屏
30184
- windowsArr: [1, 4, 9, 16],
30186
+ windowsArr: [1, 2, 4, 9, 16],
30185
30187
  //总的窗口数
30186
30188
  windowsNum: 16,
30187
30189
  conf: {
Binary file