From 5d2e6ca50091f405dfda9e287b367dd295dc6cf8 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Mon, 09 Feb 2026 17:39:17 +0800
Subject: [PATCH] 1. 航线任务增加校验,只有下发人和登陆人是一个人才可以删除修改操作。 2. 增加校验航线任务是否可以创建航线接口。
---
ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java b/ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java
index 5b20d0c..ee7bed0 100644
--- a/ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java
+++ b/ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java
@@ -63,7 +63,7 @@
* */
@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);
}
/**
@@ -82,6 +82,12 @@
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) {
--
Gitblit v1.9.3