From 7fd34cfda51657549667be84369c7f6794eeb6a3 Mon Sep 17 00:00:00 2001
From: wanghui <13282027326@163.com>
Date: 星期一, 24 七月 2023 15:57:11 +0800
Subject: [PATCH] feat:支持级联tcp主动
---
src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 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 ca90095..ae30f26 100644
--- a/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/IInviteStreamService.java
@@ -2,7 +2,7 @@
import com.genersoft.iot.vmp.common.InviteInfo;
import com.genersoft.iot.vmp.common.InviteSessionType;
-import com.genersoft.iot.vmp.service.bean.InviteErrorCallback;
+import com.genersoft.iot.vmp.service.bean.ErrorCallback;
/**
* 璁板綍鍥芥爣鐐规挱鐨勭姸鎬侊紝鍖呮嫭瀹炴椂棰勮锛屼笅杞斤紝褰曞儚鍥炴斁
@@ -13,6 +13,8 @@
* 鏇存柊鐐规挱鐨勭姸鎬佷俊鎭�
*/
void updateInviteInfo(InviteInfo inviteInfo);
+
+ InviteInfo updateInviteInfoForStream(InviteInfo inviteInfo, String stream);
/**
* 鑾峰彇鐐规挱鐨勭姸鎬佷俊鎭�
@@ -54,7 +56,7 @@
/**
* 娣诲姞涓�涓猧nvite鍥炶皟
*/
- void once(InviteSessionType type, String deviceId, String channelId, String stream, InviteErrorCallback<Object> callback);
+ void once(InviteSessionType type, String deviceId, String channelId, String stream, ErrorCallback<Object> callback);
/**
* 璋冪敤涓�涓猧nvite鍥炶皟
@@ -65,4 +67,12 @@
* 娓呯┖涓�涓澶囩殑鎵�鏈塱nvite淇℃伅
*/
void clearInviteInfo(String deviceId);
+
+ /**
+ * 缁熻鍚屼竴涓獄lm涓嬬殑鍥芥爣鏀舵祦涓暟
+ */
+ int getStreamInfoCount(String mediaServerId);
+
+
+
}
--
Gitblit v1.8.0