From 8fdd10d1c2723ead1d2c3b232f64f292ba3ce1cc Mon Sep 17 00:00:00 2001
From: che_shuai <che_shuai@massclouds>
Date: 星期一, 24 七月 2023 14:10:46 +0800
Subject: [PATCH] 修复在国标级联选择通道时,如果添加通道到跟平台根目录(即平台本身),无法触发目录变更事件问题.详见 https://github.com/648540858/wvp-GB28181-pro/issues/958

---
 src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java |   47 ++---------------------------------------------
 1 files changed, 2 insertions(+), 45 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 1036efd..ae30f26 100644
--- a/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java
@@ -4,8 +4,6 @@
 import com.genersoft.iot.vmp.common.InviteSessionType;
 import com.genersoft.iot.vmp.service.bean.ErrorCallback;
 
-import java.util.List;
-
 /**
  * 璁板綍鍥芥爣鐐规挱鐨勭姸鎬侊紝鍖呮嫭瀹炴椂棰勮锛屼笅杞斤紝褰曞儚鍥炴斁
  */
@@ -15,6 +13,8 @@
      * 鏇存柊鐐规挱鐨勭姸鎬佷俊鎭�
      */
     void updateInviteInfo(InviteInfo inviteInfo);
+
+    InviteInfo updateInviteInfoForStream(InviteInfo inviteInfo, String stream);
 
     /**
      * 鑾峰彇鐐规挱鐨勭姸鎬佷俊鎭�
@@ -72,49 +72,6 @@
      * 缁熻鍚屼竴涓獄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