648540858
2022-12-13 4b827f3897600e97023ded3df83a2f2551131d53
src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java
@@ -111,7 +111,7 @@
         resultHolder.invokeResult(msg);
      });
      if (userSetting.isUsePushingAsStatus()) {
      if (userSetting.getUseSourceIpAsStreamIp()) {
         // TODO 在点播未成功的情况下在此调用接口点播会导致返回的流地址ip错误
         deferredResultEx.setFilter(result1 -> {
            WVPResult<StreamInfo> wvpResult1 = (WVPResult<StreamInfo>)result1;
@@ -130,7 +130,6 @@
         });
      }
      // 录像查询以channelId作为deviceId查询
      resultHolder.put(key, uuid, deferredResultEx);
@@ -139,7 +138,6 @@
      }
      return result;
   }
   @Operation(summary = "停止点播")
   @Parameter(name = "deviceId", description = "设备国标编号", required = true)
@@ -177,7 +175,6 @@
      json.put("deviceId", deviceId);
      json.put("channelId", channelId);
      return json;
   }
   /**
@@ -270,7 +267,7 @@
         throw new ControllerException(ErrorCode.ERROR400.getCode(), "未找到通道: " + channelId);
      }
      return playService.audioBroadcast(device, channelId);
      return playService.audioBroadcastInfo(device, channelId);
   }