From 5e82aa5f39981e6ba0909a493f091954cebd24c8 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期四, 20 六月 2024 20:04:48 +0800 Subject: [PATCH] 优化拉流代理国标级联点播 --- 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