| | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.genersoft.iot.vmp.common.StreamInfo; |
| | | import com.genersoft.iot.vmp.gb28181.bean.Device; |
| | | import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; |
| | | 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.zlm.dto.MediaItem; |
| | | import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; |
| | | import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem; |
| | | import com.genersoft.iot.vmp.service.bean.GPSMsgInfo; |
| | | import com.genersoft.iot.vmp.service.bean.ThirdPartyGB; |
| | | |
| | | import java.util.List; |
| | |
| | | * @param app |
| | | * @param streamId |
| | | */ |
| | | void addStream(MediaServerItem mediaServerItem, String type, String app, String streamId, StreamInfo streamInfo); |
| | | void addStream(MediaServerItem mediaServerItem, String type, String app, String streamId, MediaItem item); |
| | | |
| | | /** |
| | | * 移除流信息从redis |
| | |
| | | */ |
| | | ThirdPartyGB queryMemberNoGBId(String queryKey); |
| | | |
| | | List<StreamInfo> getStreams(String mediaServerId, String pull); |
| | | List<MediaItem> getStreams(String mediaServerId, String pull); |
| | | |
| | | /** |
| | | * 将device信息写入redis |
| | |
| | | Device getDevice(String deviceId); |
| | | |
| | | void resetAllCSEQ(); |
| | | |
| | | void updateGpsMsgInfo(GPSMsgInfo gpsMsgInfo); |
| | | |
| | | GPSMsgInfo getGpsMsgInfo(String gbId); |
| | | List<GPSMsgInfo> getAllGpsMsgInfo(); |
| | | |
| | | Long getSN(String method); |
| | | |
| | | void resetAllSN(); |
| | | |
| | | void updateSubscribe(String key, SubscribeInfo subscribeInfo); |
| | | |
| | | SubscribeInfo getSubscribe(String key); |
| | | |
| | | void delSubscribe(String key); |
| | | |
| | | MediaItem getStreamInfo(String app, String streamId, String mediaServerId); |
| | | |
| | | List<SubscribeInfo> getAllSubscribe(); |
| | | |
| | | List<String> getAllSubscribePlatform(); |
| | | |
| | | void addCpuInfo(double cpuInfo); |
| | | |
| | | void addMemInfo(double memInfo); |
| | | |
| | | void addNetInfo(Map<String, String> networkInterfaces); |
| | | } |