From a0106b6dec09beb3199503794830a2af19117cda Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Wed, 24 Dec 2025 15:09:45 +0800
Subject: [PATCH] 2025-12-24 zwy 增加媒体库功能,修改桶名称、地址信息为代理后的http地址;
---
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