From 073239cedaab68465e109b1957144f5fca17958d Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: Thu, 18 Dec 2025 12:22:18 +0800
Subject: [PATCH] 增加航线状态机

---
 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