From 537cf9cd1e3ac2e03655cc1d062dad8abc193a9a Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Thu, 05 Feb 2026 20:18:05 +0800
Subject: [PATCH] 1. 最后提交所有修改。
---
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