kucservice 1.3.2 → 1.3.4

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.
@@ -26918,6 +26918,8 @@
26918
26918
  const d = hn[s.aiObjectDetectLevel];
26919
26919
  d && (s.aiObjectDetectWidth = d);
26920
26920
  }
26921
+ console.log('======s====')
26922
+ console.log(s)
26921
26923
  Se(s.isCrypto) && (s.isM7sCrypto = !0), this._opt = s, this._destroyed = !1, this.$container = r, this._tempPlayBgObj = {}, this._loadingTimeoutReplayTimes = 0, this._heartTimeoutReplayTimes = 0, this.events = new bn(this), this.watermark = new qy(this), this.memoryLogger = new AA(this), this._initPlayer(r, s), this._initWatermark(), this.debug.log("JbPro", 'init success and version is "11-28-2023"'), console.log('JbPro Version is "11-28-2023"');
26922
26924
  }
26923
26925
  destroy() {
@@ -28372,14 +28374,14 @@ class SA {
28372
28374
  setTitle(we) {
28373
28375
  this.videoConfig.title = we;
28374
28376
  }
28375
- play(we, De, at) {
28377
+ play(we, De, at, callBack) {
28376
28378
  if (!we || !De) {
28377
28379
  console.warn("--play--缺少必要参数请注意查看");
28378
28380
  return;
28379
28381
  }
28380
28382
  let Xe = document.getElementById(De), Ne = this, Ie = new JessibucaPro({
28381
28383
  container: Xe,
28382
- callBack: Ne.callBack,
28384
+ callBack: callBack || (() => {}),
28383
28385
  //回调函数
28384
28386
  decoder: Ne.decUrl,
28385
28387
  videoBuffer: 0.2,
@@ -28412,6 +28414,8 @@ class SA {
28412
28414
  top: 10
28413
28415
  }
28414
28416
  });
28417
+ console.log('======Ne.callBack======')
28418
+ console.log(Ne.callBack)
28415
28419
  Ie.on("fullscreen", function(Pe) {
28416
28420
  console.log("fullscreen"), Ne.callBack && Ne.callBack.call(null, { type: "fullscreen", msg: Pe });
28417
28421
  }), this.play265Obj[De] = Ie, this.pullRtsp(this.serverUrl, { rtsp: we, videoId: De }, at);
@@ -10116,6 +10116,8 @@ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, docePr
10116
10116
  videoConfigdefault = Object.assign(videoConfigdefault, videoConfig);
10117
10117
  }
10118
10118
 
10119
+ console.log('===callback====');
10120
+ console.log(callBack);
10119
10121
  var h265Play = new h265({
10120
10122
  callBack: callBack || function () {},
10121
10123
  rtcServe: rtcServe,
Binary file