From 208e03482281f2b901d507b1f890aa01ea6f8456 Mon Sep 17 00:00:00 2001
From: wangxinlong <wangxinlong@jiangyuetech.com>
Date: 星期五, 07 六月 2024 18:13:45 +0800
Subject: [PATCH] 录像下载失败未正常释放ssrc
---
src/main/java/com/genersoft/iot/vmp/service/redisMsg/IRedisRpcService.java | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 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 a601ae9..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,11 +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(String sendRtpItemKey);
+
+ void removeCallback(long key);
}
--
Gitblit v1.8.0