From c2ef001546ff304f997c0162e71edd0d7e0e228a Mon Sep 17 00:00:00 2001 From: fine <54142345+criver31@users.noreply.github.com> Date: 星期三, 31 五月 2023 09:35:08 +0800 Subject: [PATCH] Update MobilePositionResponseMessageHandler.java --- 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 439cdde..852a408 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; /** * 璁板綍鍥芥爣鐐规挱鐨勭姸鎬侊紝鍖呮嫭瀹炴椂棰勮锛屼笅杞斤紝褰曞儚鍥炴斁 @@ -54,10 +54,20 @@ /** * 娣诲姞涓�涓猧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鍥炶皟 */ void call(InviteSessionType type, String deviceId, String channelId, String stream, int code, String msg, Object data); + + /** + * 娓呯┖涓�涓澶囩殑鎵�鏈塱nvite淇℃伅 + */ + void clearInviteInfo(String deviceId); + + /** + * 缁熻鍚屼竴涓獄lm涓嬬殑鍥芥爣鏀舵祦涓暟 + */ + int getStreamInfoCount(String mediaServerId); } -- Gitblit v1.8.0