|
|
|
|
@ -11,6 +11,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Api(value = "realTime",tags = "实时监控")
|
|
|
|
|
@ -39,6 +40,16 @@ public class RealTimeController {
|
|
|
|
|
return Result.success(cameraService.allCameras());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/wallStyle")
|
|
|
|
|
@ApiOperation(value = "视频墙样式")
|
|
|
|
|
//@SessionHandler
|
|
|
|
|
public Result<List<Integer>> wallStyle() {
|
|
|
|
|
List<Integer> styles = new ArrayList<>(2);
|
|
|
|
|
styles.add(configProperties.getVideoStyleConfig().getVideoStyleRow());
|
|
|
|
|
styles.add(configProperties.getVideoStyleConfig().getVideoStyleColumn());
|
|
|
|
|
return Result.success(styles);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/videoServer")
|
|
|
|
|
@ApiOperation(value = "视频服务器地址")
|
|
|
|
|
public Result<String> getVideoServer(){
|
|
|
|
|
|