From 97259b12c33a170739b76dd9957783bd8743afdb Mon Sep 17 00:00:00 2001
From: Administrator <1144154118@qq.com>
Date: 星期六, 19 八月 2023 16:53:23 +0800
Subject: [PATCH] 循环
---
ard-work/src/main/java/com/ruoyi/media/service/IMediaService.java | 36 +++++++++++++++++++++++++++++++-----
1 files changed, 31 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 214c6b0..28b5780 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,17 +1,43 @@
package com.ruoyi.media.service;
+
import com.ruoyi.media.domain.Items;
import com.ruoyi.media.domain.RtspSession;
+import com.ruoyi.media.domain.StreamInfo;
import java.util.List;
public interface IMediaService {
+ /**
+ * 澧炲姞璺緞
+ * name 鍚嶇О
+ * rtspPath rtsp鍦板潃
+ * mode 妯″紡锛氬疄鏃�/鎸夐渶
+ * isCode 鏄惁杞爜
+ * 鍒樿嫃涔�
+ * 2023/8/12 13:56:52
+ */
+ public String addPath(String name, String rtspPath, String mode, String isCode);
- public String addPath(String name, String rtspPath);
- public void removePath(String name);
- public List<Items>paths();
+ StreamInfo getPathInfo(String name);
+
+ public void removePath(String[] names);
+
+ public List<StreamInfo> paths();
+
public List<Items> rtspconns();
+
public List<Items> rtspsessions();
+
RtspSession getRtspSessionById(String sessionId);
- List<RtspSession>getPushStreams();
- List<RtspSession>getPullStreams();
+
+ List<RtspSession> getPushStreams();
+
+ List<RtspSession> getPullStreams();
+
+ List<StreamInfo> getPushStreamList();
+
+ List<StreamInfo> getPullStreamList();
+
+ Boolean kickRtspSession(String sessionId);
+
}
--
Gitblit v1.9.3