From 9c3c085032bddf6bb5e8b730067292e7f1520328 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Wed, 04 Feb 2026 14:54:56 +0800
Subject: [PATCH] 2026-02-04 优化minio上传
---
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