|  |  |  | 
|---|
|  |  |  | package com.genersoft.iot.vmp.storager; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson.JSONObject; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.common.StreamInfo; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.media.zlm.ZLMServerConfig; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.gb28181.bean.ParentPlatformCatch; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem; | 
|---|
|  |  |  | 
|---|
|  |  |  | StreamInfo queryPlaybackByStreamId(String steamId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | StreamInfo queryPlayByDevice(String deviceId, String channelId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 更新流媒体信息 | 
|---|
|  |  |  | * @param ZLMServerConfig | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | boolean updateMediaInfo(ZLMServerConfig ZLMServerConfig); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取流媒体信息 | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | ZLMServerConfig getMediaInfo(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Map<String, StreamInfo> queryPlayByDeviceId(String deviceId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | void clearCatchByDeviceId(String deviceId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取mediaServer节点 | 
|---|
|  |  |  | * @param mediaServerId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | //    MediaServerItem getMediaInfo(String mediaServerId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 设置所有设备离线 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void outlineForAll(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取所有在线的 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<String> getOnlineForAll(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 在redis添加wvp的信息 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void updateWVPInfo(JSONObject jsonObject); | 
|---|
|  |  |  | } | 
|---|