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.
@@ -15133,16 +15133,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15133
15133
  let CONST_CODE = {
15134
15134
  //打开失败错误码,面板显示,不做浮窗提示框显示
15135
15135
  VIDEO_CODE: {
15136
- 2002: "打开失败,未找到该ID的视频源",
15137
- 2003: "打开失败,请确认视频服务版本",
15138
- 3001: "打开失败,未接收到引流包,请检查端口映射",
15136
+ 2002: "未找到该ID的视频源",
15137
+ 2003: "请确认视频服务版本",
15138
+ 3001: "未接收到引流包,请检查端口映射",
15139
15139
  3002: "",
15140
- 3003: "打开失败,对方拒绝视频请求",
15141
- 4001: "打开失败,视频流中断",
15142
- 4002: "打开失败,终端挂机或超时未接听",
15143
- 7000: "打开失败,无法连接视频设备",
15144
- 7001: "打开失败,无法连接视频设备",
15145
- 7002: "打开失败,无法连接视频设备"
15140
+ 3003: "对方拒绝视频请求",
15141
+ 4001: "视频流中断",
15142
+ 4002: "终端挂机或超时未接听",
15143
+ 7000: "无法连接视频设备",
15144
+ 7001: "无法连接视频设备",
15145
+ 7002: "无法连接视频设备"
15146
15146
  },
15147
15147
  OTHER_CODE: {
15148
15148
  453: "videoServer连接失败,错误码453",
@@ -15221,8 +15221,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15221
15221
  */
15222
15222
 
15223
15223
  function showResult(videoObj, code, isShowReplayBtn, video) {
15224
- let videoDom = videoObj.tagBox.parent();
15225
- videoDom.addClass("result");
15224
+ let videoDom = videoObj.tagBox.parent(); // videoDom.addClass("result");
15225
+
15226
15226
  videoDom.find('.operate-btn .close-btn').show();
15227
15227
 
15228
15228
  if (CONST_CODE.FAILED_CODE[code] && code != "4002") {
@@ -15359,6 +15359,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15359
15359
  promptFailed("请先登陆");
15360
15360
  }
15361
15361
 
15362
+ debugger;
15362
15363
  let video = self.video;
15363
15364
 
15364
15365
  if (msg.error_code) {
@@ -15385,7 +15386,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15385
15386
  if (!CONST_CODE.STATUS_CODE_ARR.includes(result.error_code + '')) {
15386
15387
  //videoListener.dispatch('afterclose', self);
15387
15388
  //播放失败 关闭视频
15388
- self.close('err');
15389
+ if (result.error_code + '' != '4001') self.close('err');
15389
15390
 
15390
15391
  if (self.isLockVideo) {
15391
15392
  setTimeout(function () {
Binary file