648540858
2024-04-11 651d4a1b0e340e03ad59d5f59f89f7e3bf4507ce
src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java
old mode 100644 new mode 100755
@@ -6,9 +6,11 @@
import com.genersoft.iot.vmp.gb28181.bean.Device;
import com.genersoft.iot.vmp.gb28181.bean.ParentPlatformCatch;
import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem;
import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem;
import com.genersoft.iot.vmp.media.bean.MediaInfo;
import com.genersoft.iot.vmp.media.bean.MediaServer;
import com.genersoft.iot.vmp.media.event.media.MediaArrivalEvent;
import com.genersoft.iot.vmp.media.zlm.dto.StreamAuthorityInfo;
import com.genersoft.iot.vmp.media.zlm.dto.hook.OnStreamChangedHookParam;
import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem;
import com.genersoft.iot.vmp.service.bean.GPSMsgInfo;
import com.genersoft.iot.vmp.service.bean.MessageForPushChannel;
import com.genersoft.iot.vmp.storager.dao.dto.PlatformRegisterInfo;
@@ -89,7 +91,7 @@
     * @param app
     * @param streamId
     */
    void addStream(MediaServerItem mediaServerItem, String type, String app, String streamId, OnStreamChangedHookParam item);
    void addStream(MediaServer mediaServerItem, String type, String app, String streamId, MediaInfo item);
    /**
     * 移除流信息从redis
@@ -106,7 +108,7 @@
     */
    void removeStream(String mediaServerId, String type);
    List<OnStreamChangedHookParam> getStreams(String mediaServerId, String pull);
    List<MediaInfo> getStreams(String mediaServerId, String pull);
    /**
     * 将device信息写入redis
@@ -132,7 +134,7 @@
    void resetAllSN();
    OnStreamChangedHookParam getStreamInfo(String app, String streamId, String mediaServerId);
    MediaInfo getStreamInfo(String app, String streamId, String mediaServerId);
    void addCpuInfo(double cpuInfo);
@@ -181,7 +183,7 @@
     */
    void sendStreamPushRequestedMsgForStatus();
    List<SendRtpItem> querySendRTPServerByChnnelId(String channelId);
    List<SendRtpItem> querySendRTPServerByChannelId(String channelId);
    List<SendRtpItem> querySendRTPServerByStream(String stream);
@@ -202,4 +204,19 @@
    void removeAllDevice();
    void sendDeviceOrChannelStatus(String deviceId, String channelId, boolean online);
    void sendChannelAddOrDelete(String deviceId, String channelId, boolean add);
    void sendPlatformStartPlayMsg(MessageForPushChannel messageForPushChannel);
    void sendPlatformStopPlayMsg(MessageForPushChannel messageForPushChannel);
    void addPushListItem(String app, String stream, MediaArrivalEvent param);
    StreamPushItem getPushListItem(String app, String stream);
    void removePushListItem(String app, String stream, String mediaServerId);
    void sendPushStreamClose(MessageForPushChannel messageForPushChannel);
}