From 07a8ef9e256c70a3a5b15782add81dcad1e2ffc2 Mon Sep 17 00:00:00 2001
From: panlinlin <648540858@qq.com>
Date: 星期五, 14 六月 2024 00:03:57 +0800
Subject: [PATCH] SIP只有一个监听时,直接返回

---
 src/main/java/com/genersoft/iot/vmp/service/redisMsg/IRedisRpcService.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/service/redisMsg/IRedisRpcService.java b/src/main/java/com/genersoft/iot/vmp/service/redisMsg/IRedisRpcService.java
index 8d1b7f0..b4bd72c 100644
--- a/src/main/java/com/genersoft/iot/vmp/service/redisMsg/IRedisRpcService.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/redisMsg/IRedisRpcService.java
@@ -6,16 +6,17 @@
 
 public interface IRedisRpcService {
 
-    SendRtpItem getSendRtpItem(SendRtpItem sendRtpItem);
+    SendRtpItem getSendRtpItem(String sendRtpItemKey);
 
-    WVPResult startSendRtp(SendRtpItem sendRtpItem);
+    WVPResult startSendRtp(String sendRtpItemKey, SendRtpItem sendRtpItem);
 
-    void waitePushStreamOnline(SendRtpItem sendRtpItem, CommonCallback<SendRtpItem> callback);
+    WVPResult stopSendRtp(String sendRtpItemKey);
 
-    WVPResult stopSendRtp(SendRtpItem sendRtpItem);
+    long waitePushStreamOnline(SendRtpItem sendRtpItem, CommonCallback<String> callback);
 
     void stopWaitePushStreamOnline(SendRtpItem sendRtpItem);
 
-    void rtpSendStopped(SendRtpItem sendRtpItem);
+    void rtpSendStopped(String sendRtpItemKey);
 
+    void removeCallback(long key);
 }

--
Gitblit v1.8.0