| | |
| | | |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.genersoft.iot.vmp.common.SystemAllInfo; |
| | | import com.genersoft.iot.vmp.gb28181.bean.AlarmChannelMessage; |
| | | 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.gb28181.bean.*; |
| | | 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.MediaServer; |
| | | 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; |
| | |
| | | void delPlatformRegisterInfo(String callId); |
| | | |
| | | void updateSendRTPSever(SendRtpItem sendRtpItem); |
| | | |
| | | List<SendRtpItem> querySendRTPServer(String platformGbId, String channelId, String streamId); |
| | | |
| | | /** |
| | | * 查询RTP推送信息缓存 |
| | |
| | | * @param app |
| | | * @param streamId |
| | | */ |
| | | void addStream(MediaServer mediaServerItem, String type, String app, String streamId, OnStreamChangedHookParam item); |
| | | void addStream(MediaServer mediaServerItem, String type, String app, String streamId, MediaInfo item); |
| | | |
| | | /** |
| | | * 移除流信息从redis |
| | |
| | | */ |
| | | void removeStream(String mediaServerId, String type); |
| | | |
| | | List<OnStreamChangedHookParam> getStreams(String mediaServerId, String pull); |
| | | List<MediaInfo> getStreams(String mediaServerId, String pull); |
| | | |
| | | /** |
| | | * 将device信息写入redis |
| | |
| | | |
| | | void resetAllSN(); |
| | | |
| | | OnStreamChangedHookParam getStreamInfo(String app, String streamId, String mediaServerId); |
| | | MediaInfo getStreamInfo(String app, String streamId, String mediaServerId); |
| | | |
| | | void addCpuInfo(double cpuInfo); |
| | | |
| | |
| | | |
| | | void addDiskInfo(List<Map<String, Object>> diskInfo); |
| | | |
| | | void deleteSendRTPServer(SendRtpItem sendRtpItem); |
| | | |
| | | List<SendRtpItem> queryAllSendRTPServer(); |
| | | |
| | | List<Device> getAllDevices(); |
| | |
| | | |
| | | void sendChannelAddOrDelete(String deviceId, String channelId, boolean add); |
| | | |
| | | void sendPlatformStartPlayMsg(MessageForPushChannel messageForPushChannel); |
| | | void sendPlatformStartPlayMsg(SendRtpItem sendRtpItem, ParentPlatform platform); |
| | | |
| | | void sendPlatformStopPlayMsg(MessageForPushChannel messageForPushChannel); |
| | | void sendPlatformStopPlayMsg(SendRtpItem sendRtpItem, ParentPlatform platform); |
| | | |
| | | 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); |
| | | |
| | | void addWaiteSendRtpItem(SendRtpItem sendRtpItem, int platformPlayTimeout); |
| | | |
| | | SendRtpItem getWaiteSendRtpItem(String app, String stream); |
| | | |
| | | void sendStartSendRtp(SendRtpItem sendRtpItem); |
| | | |
| | | void sendPushStreamOnline(SendRtpItem sendRtpItem); |
| | | } |