Browse Source

# 海康视频转换为flv格式

zhongwei
haungxing 12 months ago
parent
commit
e486101d1b
  1. 5
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationVideoTypeController.java

5
hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/controller/StationVideoTypeController.java

@ -215,11 +215,12 @@ public class StationVideoTypeController extends BladeController {
public R<List<JSONObject>> getHikVisionStations() { public R<List<JSONObject>> getHikVisionStations() {
return R.data(stationVideoTypeService.getHikVisionStations()); return R.data(stationVideoTypeService.getHikVisionStations());
} }
@ApiLog @ApiLog
@GetMapping("/getHikVideo") @GetMapping("/getFlvVideos")
@ApiOperationSupport(order = 120) @ApiOperationSupport(order = 120)
@ApiOperation(value = "获取海康视频区域列表", notes = "获取海康视频区域列表") @ApiOperation(value = "获取海康视频区域列表", notes = "获取海康视频区域列表")
public R getVideoMonitor(StationVideoTypeEntity req,Query query) { public R getFlvVideos(StationVideoTypeEntity req,Query query) {
LambdaQueryWrapper<StationVideoTypeEntity> queryWrapper = com.hnac.hzims.common.utils.Condition.getQueryWrapper(StationVideoTypeEntity.class, req); LambdaQueryWrapper<StationVideoTypeEntity> queryWrapper = com.hnac.hzims.common.utils.Condition.getQueryWrapper(StationVideoTypeEntity.class, req);
IPage<StationVideoTypeEntity> page = stationVideoTypeService.page(com.hnac.hzims.common.utils.Condition.getPage(query), queryWrapper); IPage<StationVideoTypeEntity> page = stationVideoTypeService.page(com.hnac.hzims.common.utils.Condition.getPage(query), queryWrapper);
Consumer<StationVideoTypeEntity> getFlvVideo = video -> { Consumer<StationVideoTypeEntity> getFlvVideo = video -> {

Loading…
Cancel
Save