Monica视频监控处理程序
xc
2021-02-08 6f86e7cee012a5798f0e361ec984e1daf36b3c2e
src/main/java/com/hbbh/adapter/controller/MonibucaController.java
@@ -26,7 +26,7 @@
    @Override
    @RequestMapping(value = "/test/video", method = RequestMethod.GET)
    @ApiOperation("test")
    @ApiOperation("parse")
    public String parseVideoRTSP() {
        try {
            String result = monibucaManager.parseVideo();
@@ -39,7 +39,14 @@
    }
    @Override
    public void stopStream(String param) {
    @RequestMapping(value = "/video/stop", method = RequestMethod.GET)
    @ApiOperation("stop")
    public void stopStream(@RequestParam("param")String param) {
        try {
            monibucaManager.stopStream(param);
        } catch (Exception e) {
            log.error("接口:com.hbbh.adapter.controller.api.MonibucaAPIController.parseVideoRTSP 调用失败");
            e.printStackTrace();
        }
    }
}