| | |
| | | * */ |
| | | @ServiceActivator(inputChannel = ChannelName.INBOUND_STATE_STATUS) |
| | | public void LiveStateStatus(LiveStatusTwoReceiver liveReceiver, MessageHeaders headers) { |
| | | log.info("摄像头返回状态通道INBOUND_STATE_STATUS:{}", liveReceiver); |
| | | // log.info("摄像头返回状态通道INBOUND_STATE_STATUS:{}", liveReceiver); |
| | | } |
| | | |
| | | /** |
| | |
| | | return ResponseResult.success(liveCapacity); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取sn设备的摄像头模式", notes = "获取sn设备的直播能力数据中摄像头的videotype数组") |
| | | @GetMapping("/videotype") |
| | | public ResponseResult<List<String>> getVideoType(String sn){ |
| | | return liveStreamService.getLiveLens(sn); |
| | | } |
| | | |
| | | @ApiOperation("获取video_id") |
| | | @PostMapping("/videoid/{sn}") |
| | | public ResponseResult<LiveTypeDTO> getVideoId(@PathVariable String sn) { |