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.
@@ -14185,7 +14185,6 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14185
14185
  }
14186
14186
  }
14187
14187
 
14188
- debugger;
14189
14188
  let videoWidth = video.videoWidth;
14190
14189
  let videoHeight = video.videoHeight;
14191
14190
  let vWidth = video.offsetWidth;
@@ -31744,9 +31743,10 @@ const initVideo = function (token, videoArea, videoOpts_, sip) {
31744
31743
  //读取视频服务配置初始化视频
31745
31744
  let server_ = sip || server;
31746
31745
  return new Promise((resolve, reject) => {
31747
- let url = server_ + '/scooper-video/conf/data';
31748
- let param = {};
31749
- $.getJSON(url, param, function (conf) {
31746
+ let url = server_ + '/scooper-video/conf/data?token=' + token;
31747
+ let param = {}; // $.getJSON(url,param,function (conf) {
31748
+
31749
+ $.post(url, param, function (conf) {
31750
31750
  // 初始化视频播放方式
31751
31751
  // initplaVideoType();
31752
31752
  let janusUrl = conf['video.janus.url'];
@@ -31776,7 +31776,7 @@ const initVideo = function (token, videoArea, videoOpts_, sip) {
31776
31776
  conf['video.poll.time'] && (videoOpts.pollInterval = conf['video.poll.time']);
31777
31777
  let videoController = new Video($(videoArea), videoOpts);
31778
31778
  resolve(videoController);
31779
- });
31779
+ }, 'json');
31780
31780
  });
31781
31781
  };
31782
31782
  // CONCATENATED MODULE: ./index.js
Binary file