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 | 41 +++++++++++++++++++++++++++++++----------
1 files changed, 31 insertions(+), 10 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 bd99555..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,12 +1,23 @@
package com.ruoyi.media.service;
import com.ruoyi.media.domain.*;
-
import java.util.List;
+import java.util.Map;
public interface IMediaService {
/**
* 澧炲姞璺緞
+ * name 鍚嶇О
+ * rtspPath rtsp鍦板潃
+ * mode 妯″紡锛歡pu纭В鐮�/cpu杞В鐮�
+ * isCode 鏄惁杞爜
+ * 鍒樿嫃涔�
+ * 2023/8/12 13:56:52
+ */
+ Map<String, String> addPath(String name, String sourceUrl, String mode, String isCode);
+
+ /**
+ * 淇敼璺緞
* name 鍚嶇О
* rtspPath rtsp鍦板潃
* mode 妯″紡锛氬疄鏃�/鎸夐渶
@@ -14,30 +25,40 @@
* 鍒樿嫃涔�
* 2023/8/12 13:56:52
*/
- public String addPath(String name, String rtspPath, String mode, String isCode);
+ Map<String, String> editPath(String name, String sourceUrl, String mode, String isCode);
StreamInfo getPathInfo(String name);
- public void removePath(String[] names);
+ void removePath(String[] names);
- public List<StreamInfo> paths();
+ void removePath(String name);
- public List<Items> rtspconns();
+ List<StreamInfo> paths();
- public List<Items> rtspsessions();
+ List<String> getNameList();
+
+ boolean checkNameExist(String name);
RtspSession getRtspSessionById(String sessionId);
- WebrtcSession getWebrtcSessionById(String sessionId);
- RtmpSession getRtmpSessionById(String sessionId);
- List<RtspSession> getPushStreams();
- List<RtspSession> getPullStreams();
+ WebrtcSession getWebrtcSessionById(String sessionId);
+
+ RtmpSession getRtmpSessionById(String sessionId);
List<StreamInfo> getPushStreamList();
List<StreamInfo> getPullStreamList();
Boolean kickRtspSession(String sessionId);
+
Boolean kickRtmpSession(String sessionId);
+
Boolean kickWebrtcSession(String sessionId);
+
+ /**
+ * 閰嶇疆娴佸獟浣撳弬鏁�
+ * 鍒樿嫃涔�
+ * 2023/10/13 15:17:57
+ */
+ public String setConfig(Config config);
}
--
Gitblit v1.9.3