ucservice 2.5.8 → 2.6.0

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.
@@ -14194,7 +14194,6 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14194
14194
  }
14195
14195
  }
14196
14196
 
14197
- debugger;
14198
14197
  let videoWidth = video.videoWidth;
14199
14198
  let videoHeight = video.videoHeight;
14200
14199
  let vWidth = video.offsetWidth;
@@ -31753,9 +31752,10 @@ const initVideo = function (token, videoArea, videoOpts_, sip) {
31753
31752
  //读取视频服务配置初始化视频
31754
31753
  let server_ = sip || server;
31755
31754
  return new Promise((resolve, reject) => {
31756
- let url = server_ + '/scooper-video/conf/data';
31757
- let param = {};
31758
- $.getJSON(url, param, function (conf) {
31755
+ let url = server_ + '/scooper-video/conf/data?token=' + token;
31756
+ let param = {}; // $.getJSON(url,param,function (conf) {
31757
+
31758
+ $.post(url, param, function (conf) {
31759
31759
  // 初始化视频播放方式
31760
31760
  // initplaVideoType();
31761
31761
  let janusUrl = conf['video.janus.url'];
@@ -31785,7 +31785,7 @@ const initVideo = function (token, videoArea, videoOpts_, sip) {
31785
31785
  conf['video.poll.time'] && (videoOpts.pollInterval = conf['video.poll.time']);
31786
31786
  let videoController = new Video($(videoArea), videoOpts);
31787
31787
  resolve(videoController);
31788
- });
31788
+ }, 'json');
31789
31789
  });
31790
31790
  };
31791
31791
  // CONCATENATED MODULE: ./index.js
Binary file