648540858
2024-04-23 d41d6b34af2485198ed01e1888db1571e4da1a6a
src/main/java/com/genersoft/iot/vmp/service/redisMsg/IRedisRpcService.java
New file
@@ -0,0 +1,22 @@
package com.genersoft.iot.vmp.service.redisMsg;
import com.genersoft.iot.vmp.common.CommonCallback;
import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem;
import com.genersoft.iot.vmp.vmanager.bean.WVPResult;
public interface IRedisRpcService {
    SendRtpItem getSendRtpItem(String sendRtpItemKey);
    WVPResult startSendRtp(String sendRtpItemKey, SendRtpItem sendRtpItem);
    WVPResult stopSendRtp(String sendRtpItemKey);
    long waitePushStreamOnline(SendRtpItem sendRtpItem, CommonCallback<String> callback);
    void stopWaitePushStreamOnline(SendRtpItem sendRtpItem);
    void rtpSendStopped(String sendRtpItemKey);
    void removeCallback(long key);
}