From bb22ca2e9b9c60b0138a322ad49cab7ea8aa06e1 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期三, 25 十月 2023 17:12:54 +0800
Subject: [PATCH] 修复雷达引导2个相机引导录像重复问题;
---
ard-work/src/main/java/com/ruoyi/media/service/IMediaService.java | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/media/service/IMediaService.java b/ard-work/src/main/java/com/ruoyi/media/service/IMediaService.java
index 436fe72..c5a3b28 100644
--- a/ard-work/src/main/java/com/ruoyi/media/service/IMediaService.java
+++ b/ard-work/src/main/java/com/ruoyi/media/service/IMediaService.java
@@ -1,8 +1,6 @@
package com.ruoyi.media.service;
import com.ruoyi.media.domain.*;
-
-import java.lang.reflect.MalformedParameterizedTypeException;
import java.util.List;
import java.util.Map;
@@ -11,12 +9,13 @@
* 澧炲姞璺緞
* name 鍚嶇О
* rtspPath rtsp鍦板潃
- * mode 妯″紡锛氬疄鏃�/鎸夐渶
+ * mode 妯″紡锛歡pu纭В鐮�/cpu杞В鐮�
* isCode 鏄惁杞爜
* 鍒樿嫃涔�
* 2023/8/12 13:56:52
*/
- Map<String,String> addPath(String name, String sourceUrl, String mode, String isCode);
+ Map<String, String> addPath(String name, String sourceUrl, String mode, String isCode);
+
/**
* 淇敼璺緞
* name 鍚嶇О
@@ -26,13 +25,19 @@
* 鍒樿嫃涔�
* 2023/8/12 13:56:52
*/
- Map<String,String> editPath(String name, String sourceUrl, String mode, String isCode);
+ Map<String, String> editPath(String name, String sourceUrl, String mode, String isCode);
StreamInfo getPathInfo(String name);
void removePath(String[] names);
+ void removePath(String name);
+
List<StreamInfo> paths();
+
+ List<String> getNameList();
+
+ boolean checkNameExist(String name);
RtspSession getRtspSessionById(String sessionId);
@@ -49,4 +54,11 @@
Boolean kickRtmpSession(String sessionId);
Boolean kickWebrtcSession(String sessionId);
+
+ /**
+ * 閰嶇疆娴佸獟浣撳弬鏁�
+ * 鍒樿嫃涔�
+ * 2023/10/13 15:17:57
+ */
+ public String setConfig(Config config);
}
--
Gitblit v1.9.3