ucservice 2.2.3 → 2.2.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.
@@ -15124,16 +15124,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15124
15124
  let CONST_CODE = {
15125
15125
  //打开失败错误码,面板显示,不做浮窗提示框显示
15126
15126
  VIDEO_CODE: {
15127
- 2002: "打开失败,未找到该ID的视频源",
15128
- 2003: "打开失败,请确认视频服务版本",
15129
- 3001: "打开失败,未接收到引流包,请检查端口映射",
15127
+ 2002: "未找到该ID的视频源",
15128
+ 2003: "请确认视频服务版本",
15129
+ 3001: "未接收到引流包,请检查端口映射",
15130
15130
  3002: "",
15131
- 3003: "打开失败,对方拒绝视频请求",
15132
- 4001: "打开失败,视频流中断",
15133
- 4002: "打开失败,终端挂机或超时未接听",
15134
- 7000: "打开失败,无法连接视频设备",
15135
- 7001: "打开失败,无法连接视频设备",
15136
- 7002: "打开失败,无法连接视频设备"
15131
+ 3003: "对方拒绝视频请求",
15132
+ 4001: "视频流中断",
15133
+ 4002: "终端挂机或超时未接听",
15134
+ 7000: "无法连接视频设备",
15135
+ 7001: "无法连接视频设备",
15136
+ 7002: "无法连接视频设备"
15137
15137
  },
15138
15138
  OTHER_CODE: {
15139
15139
  453: "videoServer连接失败,错误码453",
@@ -15212,8 +15212,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15212
15212
  */
15213
15213
 
15214
15214
  function showResult(videoObj, code, isShowReplayBtn, video) {
15215
- let videoDom = videoObj.tagBox.parent();
15216
- videoDom.addClass("result");
15215
+ let videoDom = videoObj.tagBox.parent(); // videoDom.addClass("result");
15216
+
15217
15217
  videoDom.find('.operate-btn .close-btn').show();
15218
15218
 
15219
15219
  if (CONST_CODE.FAILED_CODE[code] && code != "4002") {
@@ -15350,6 +15350,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15350
15350
  promptFailed("请先登陆");
15351
15351
  }
15352
15352
 
15353
+ debugger;
15353
15354
  let video = self.video;
15354
15355
 
15355
15356
  if (msg.error_code) {
@@ -15376,7 +15377,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15376
15377
  if (!CONST_CODE.STATUS_CODE_ARR.includes(result.error_code + '')) {
15377
15378
  //videoListener.dispatch('afterclose', self);
15378
15379
  //播放失败 关闭视频
15379
- self.close('err');
15380
+ if (result.error_code + '' != '4001') self.close('err');
15380
15381
 
15381
15382
  if (self.isLockVideo) {
15382
15383
  setTimeout(function () {
Binary file