| | |
| | | package com.genersoft.iot.vmp.storager; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.genersoft.iot.vmp.common.RealVideo; |
| | | import com.genersoft.iot.vmp.common.StreamInfo; |
| | | import com.genersoft.iot.vmp.conf.MediaServerConfig; |
| | | import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; |
| | |
| | | |
| | | StreamInfo queryPlaybackByStreamId(String steamId); |
| | | |
| | | StreamInfo queryPlayByDevice(String deviceId, String code); |
| | | StreamInfo queryPlayByDevice(String deviceId, String channelId); |
| | | |
| | | /** |
| | | * 更新流媒体信息 |
| | |
| | | */ |
| | | SendRtpItem querySendRTPServer(String platformGbId, String channelId); |
| | | |
| | | List<SendRtpItem> querySendRTPServer(String platformGbId); |
| | | |
| | | /** |
| | | * 删除RTP推送信息缓存 |
| | | * @param platformGbId |
| | |
| | | boolean isChannelSendingRTP(String channelId); |
| | | |
| | | /** |
| | | * 更新媒体流列表 |
| | | * @param mediaList |
| | | * 清空某个设备的所有缓存 |
| | | * @param deviceId 设备ID |
| | | */ |
| | | void updateMediaList(List<RealVideo> mediaList); |
| | | |
| | | /** |
| | | * 获取当前媒体流列表 |
| | | * @return List<RealVideo> |
| | | */ |
| | | JSONObject getMediaList(int start, int end); |
| | | void clearCatchByDeviceId(String deviceId); |
| | | } |