|
@@ -1175,10 +1175,11 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
|
|
|
String urls = data.getString("url");
|
|
|
log.info("urls----->" + urls);
|
|
|
try {
|
|
|
- log.info("msg---------->" + httpUrl + "/rtsp/api/pull?target=" + urls + "&streamPath=" + camerasVo.getCameraIndexCode() + "/" + channel + "&save=0");
|
|
|
+ log.info("httpUrl---------->" + httpUrl + "/rtsp/api/pull?target=" + urls + "&streamPath=" + camerasVo.getCameraIndexCode() + "/" + channel + "&save=0");
|
|
|
String msg = HttpUtils.sendGet(httpUrl + "/rtsp/api/pull?target=" + urls + "&streamPath=" + camerasVo.getCameraIndexCode() + "/" + channel + "&save=0");
|
|
|
log.info("msg---------->" + msg);
|
|
|
- if (!msg.equals("ok")) {
|
|
|
+ log.info("boolen--------------" + msg.contains("ok"));
|
|
|
+ if (!msg.contains("ok")) {
|
|
|
// log.info("code---------->" + httpUrls + "/rtsp/api/pull?target=" + urls + "&streamPath=" + camerasVo.getCameraIndexCode() + "/" + channel + "&save=0");
|
|
|
// String code = HttpUtils.sendGet(httpUrls + "/rtsp/api/pull?target=" + urls + "&streamPath=" + camerasVo.getCameraIndexCode() + "/" + channel + "&save=0");
|
|
|
// log.info("code---------->" + code);
|