From fa62ab9a0143433a5d058ab3229a37e4a9a0f696 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 20 六月 2023 14:16:46 +0800
Subject: [PATCH] Merge pull request #893 from sxh-netizen/wvp-28181-2.0

---
 src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java b/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java
index 852a408..1036efd 100644
--- a/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java
@@ -4,6 +4,8 @@
 import com.genersoft.iot.vmp.common.InviteSessionType;
 import com.genersoft.iot.vmp.service.bean.ErrorCallback;
 
+import java.util.List;
+
 /**
  * 璁板綍鍥芥爣鐐规挱鐨勭姸鎬侊紝鍖呮嫭瀹炴椂棰勮锛屼笅杞斤紝褰曞儚鍥炴斁
  */
@@ -70,4 +72,50 @@
      * 缁熻鍚屼竴涓獄lm涓嬬殑鍥芥爣鏀舵祦涓暟
      */
     int getStreamInfoCount(String mediaServerId);
+
+
+    /*======================璁惧涓诲瓙鐮佹祦閫昏緫START=========================*/
+    /**
+     * 鑾峰彇鐐规挱鐨勭姸鎬佷俊鎭�
+     */
+    InviteInfo getInviteInfoByDeviceAndChannel(InviteSessionType type,
+                                               String deviceId,
+                                               String channelId,boolean isSubStream);
+
+    void removeInviteInfoByDeviceAndChannel(InviteSessionType inviteSessionType, String deviceId, String channelId,boolean isSubStream);
+
+    InviteInfo getInviteInfo(InviteSessionType type,
+                             String deviceId,
+                             String channelId,
+                             boolean isSubStream,
+                             String stream);
+
+    void removeInviteInfo(InviteSessionType type,
+                          String deviceId,
+                          String channelId,
+                          boolean isSubStream,
+                          String stream);
+
+    void once(InviteSessionType type, String deviceId, String channelId,boolean isSubStream, String stream,  ErrorCallback<Object> callback);
+
+    void call(InviteSessionType type, String deviceId, String channelId,boolean isSubStream, String stream,  int code, String msg, Object data);
+
+    void updateInviteInfoSub(InviteInfo inviteInfo);
+
+    /**
+     * 鑾峰彇鐐规挱鐨勭姸鎬佷俊鎭�
+     */
+    InviteInfo getInviteInfoByStream(InviteSessionType type, String stream,boolean isSubStream);
+
+    /**
+     * 鑾峰彇鐐规挱鐨勭姸鎬佷俊鎭�
+     */
+    List<Object> getInviteInfos(InviteSessionType type,
+                                String deviceId,
+                                String channelId,
+                                String stream);
+    /*======================璁惧涓诲瓙鐮佹祦閫昏緫END=========================*/
+
+
+
 }

--
Gitblit v1.8.0