Przeglądaj źródła

修改推流地址

tags/v1.3.1
wanjing 1 rok temu
rodzic
commit
b7cf2afa40
2 zmienionych plików z 6 dodań i 1 usunięć
  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 Wyświetl plik

@@ -42,4 +42,9 @@ public class TZHLOnlineUavResponse {
*/
private String playUrl;

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

}

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/fly/log/FlyLogBySuccessService.java Wyświetl plik

@@ -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());

Ładowanie…
Anuluj
Zapisz