|
@@ -1035,9 +1035,7 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
@ApiOperation("报警回放本地测试")
|
|
|
@Log(title = "相机台账管理", businessType = BusinessType.MESSAGE)
|
|
|
public AjaxResult getAlarmRecord() {
|
|
|
- List<BaseCameraManagement> list = baseCameraManagementService.list(new QueryWrapper<BaseCameraManagement>().eq("line_dir",2));
|
|
|
- List<String> collect = list.stream().map(BaseCameraManagement::getCameraCode).collect(Collectors.toList());
|
|
|
- CompletableFuture.runAsync(() -> cameraUtil.playbackURLs(collect));
|
|
|
+ CameraUtil.streamUrlDownload("rtsp://124.70.58.209:8554/42010001541320000024/42010001541320000024", "42010001541320000024");
|
|
|
return AjaxResult.success("ok");
|
|
|
}
|
|
|
|