From 7b5d4c535ab770db4238389759c5e6a66ea7e661 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Wed, 04 Mar 2026 11:12:35 +0800
Subject: [PATCH] 1. 增加点云文件信息接口业务。 2. yml文件增加路径配置。

---
 ard-admin/src/main/java/com/ard/web/controller/sample/LiveStreamController.java |   16 ++++++++++++++++
 1 files changed, 16 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 ace530f..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
@@ -9,6 +9,7 @@
 import com.ard.sample.manage.model.dto.LiveTypeDTO;
 import com.ard.sample.manage.model.param.RemoteDebugParam;
 import com.ard.sample.manage.model.receiver.LiveCapacityReceiver;
+import com.ard.sample.manage.model.receiver.LiveStatusTwoReceiver;
 import com.ard.sample.manage.service.IDeviceService;
 import com.ard.sample.manage.service.ILiveStreamService;
 import com.fasterxml.jackson.databind.ObjectMapper;
@@ -56,6 +57,15 @@
         liveStreamService.saveLiveCapacity(liveCapacity, headers.getTimestamp());
     }
 
+
+    /**
+     * 处理摄像头返回状态
+     * */
+    @ServiceActivator(inputChannel = ChannelName.INBOUND_STATE_STATUS)
+    public void LiveStateStatus(LiveStatusTwoReceiver liveReceiver, MessageHeaders headers) {
+//        log.info("摄像头返回状态通道INBOUND_STATE_STATUS:{}", liveReceiver);
+    }
+
     /**
      * Get live capability data of all drones in the current user's workspace from the database.
      *
@@ -72,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