From 473b5351fbbfd4e5fa4b0f87356253776bfa6da6 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Mon, 02 Mar 2026 08:25:41 +0800
Subject: [PATCH] 2026-03-02 优化媒体文件查询列表,新增任务名称
---
ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java | 6 ++++++
1 files changed, 6 insertions(+), 0 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 4d3fa87..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
@@ -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