Browse Source

修改推流地址

tags/v1.3.1
wanjing 1 year ago
parent
commit
b7cf2afa40
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/response/TZHLOnlineUavResponse.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/fly/log/FlyLogBySuccessService.java

+ 5
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/response/TZHLOnlineUavResponse.java View File

*/ */
private String playUrl; private String playUrl;


/**
* 推流地址
*/
private String pushUrl;

} }

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/fly/log/FlyLogBySuccessService.java View File

} }


// 通知DSP // 通知DSP
JsonResult result = dspService.startAI(inspection, tzhlOnlineUavResponse.getPlayUrl(), tzhlOnlineUavResponse.getPlayUrl());
JsonResult result = dspService.startAI(inspection, tzhlOnlineUavResponse.getPushUrl(), tzhlOnlineUavResponse.getPushUrl());
if (0 != result.getCode()) { if (0 != result.getCode()) {
log.info("泰州海陵区城管,执行任务,通知DSP失败"); log.info("泰州海陵区城管,执行任务,通知DSP失败");
inspection.setStatus(InspectionStatusEnum.FLIGHT_FAILED.getCode()); inspection.setStatus(InspectionStatusEnum.FLIGHT_FAILED.getCode());

Loading…
Cancel
Save