@@ -42,4 +42,9 @@ public class TZHLOnlineUavResponse { | |||
*/ | |||
private String playUrl; | |||
/** | |||
* 推流地址 | |||
*/ | |||
private String pushUrl; | |||
} |
@@ -43,7 +43,7 @@ public class FlyLogBySuccessService { | |||
} | |||
// 通知DSP | |||
JsonResult result = dspService.startAI(inspection, tzhlOnlineUavResponse.getPlayUrl(), tzhlOnlineUavResponse.getPlayUrl()); | |||
JsonResult result = dspService.startAI(inspection, tzhlOnlineUavResponse.getPushUrl(), tzhlOnlineUavResponse.getPushUrl()); | |||
if (0 != result.getCode()) { | |||
log.info("泰州海陵区城管,执行任务,通知DSP失败"); | |||
inspection.setStatus(InspectionStatusEnum.FLIGHT_FAILED.getCode()); |