From 065142057ba3983af899991085e37ac1ec502320 Mon Sep 17 00:00:00 2001
From: aijinhui <aijinhui>
Date: 星期二, 19 九月 2023 14:06:30 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
ard-work/src/main/java/com/ruoyi/media/service/IMediaService.java | 51 +++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 45 insertions(+), 6 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 37ac942..436fe72 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,13 +1,52 @@
package com.ruoyi.media.service;
-import com.ruoyi.media.domain.Items;
+import com.ruoyi.media.domain.*;
+
+import java.lang.reflect.MalformedParameterizedTypeException;
import java.util.List;
+import java.util.Map;
public interface IMediaService {
+ /**
+ * 澧炲姞璺緞
+ * name 鍚嶇О
+ * rtspPath rtsp鍦板潃
+ * mode 妯″紡锛氬疄鏃�/鎸夐渶
+ * isCode 鏄惁杞爜
+ * 鍒樿嫃涔�
+ * 2023/8/12 13:56:52
+ */
+ Map<String,String> addPath(String name, String sourceUrl, String mode, String isCode);
+ /**
+ * 淇敼璺緞
+ * name 鍚嶇О
+ * rtspPath rtsp鍦板潃
+ * mode 妯″紡锛氬疄鏃�/鎸夐渶
+ * isCode 鏄惁杞爜
+ * 鍒樿嫃涔�
+ * 2023/8/12 13:56:52
+ */
+ Map<String,String> editPath(String name, String sourceUrl, String mode, String isCode);
- public String addPath(String name, String rtspPath);
- public void removePath(String name);
- public List<Items>paths();
- public List<Items> rtspconns();
- public List<Items> rtspsessions();
+ StreamInfo getPathInfo(String name);
+
+ void removePath(String[] names);
+
+ List<StreamInfo> paths();
+
+ RtspSession getRtspSessionById(String sessionId);
+
+ 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);
}
--
Gitblit v1.9.3