| | |
| | | import java.util.List;
|
| | |
|
| | | import com.genersoft.iot.vmp.gb28181.bean.*;
|
| | | import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem;
|
| | | import com.genersoft.iot.vmp.media.zlm.dto.StreamProxyItem;
|
| | | import com.genersoft.iot.vmp.vmanager.platform.bean.ChannelReduce;
|
| | | import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem;
|
| | | import com.genersoft.iot.vmp.vmanager.gb28181.platform.bean.ChannelReduce;
|
| | | import com.github.pagehelper.PageInfo;
|
| | |
|
| | | /**
|
| | |
| | | */
|
| | | public boolean outline(String deviceId);
|
| | |
|
| | | /**
|
| | | * 更新所有设备离线
|
| | | *
|
| | | * @return true:更新成功 false:更新失败
|
| | | */
|
| | | public boolean outlineForAll();
|
| | |
|
| | |
|
| | | /**
|
| | | * 查询子设备
|
| | |
| | | * @param platformGbId
|
| | | * @return
|
| | | */
|
| | | ParentPlatform queryParentPlatById(String platformGbId);
|
| | | ParentPlatform queryParentPlatByServerGBId(String platformGbId);
|
| | |
|
| | | /**
|
| | | * 所有平台离线
|
| | |
| | | * @return
|
| | | */
|
| | | List<GbStream> queryGbStreamListInPlatform(String platformId);
|
| | |
|
| | | /**
|
| | | * 批量更新推流列表
|
| | | * @param streamPushItems
|
| | | */
|
| | | void updateMediaList(List<StreamPushItem> streamPushItems);
|
| | |
|
| | | /**
|
| | | * 更新单个推流
|
| | | * @param streamPushItem
|
| | | */
|
| | | void updateMedia(StreamPushItem streamPushItem);
|
| | |
|
| | | /**
|
| | | * 移除单个推流
|
| | | * @param app
|
| | | * @param stream
|
| | | */
|
| | | void removeMedia(String app, String stream);
|
| | |
|
| | |
|
| | | /**
|
| | | * 清空推流列表
|
| | | */
|
| | | void clearMediaList();
|
| | |
|
| | | /**
|
| | | * 设置流离线
|
| | | * @param app
|
| | | * @param streamId
|
| | | */
|
| | | void mediaOutline(String app, String streamId);
|
| | |
|
| | | /**
|
| | | * 设置平台在线/离线
|
| | | * @param online
|
| | | */
|
| | | void updateParentPlatformStatus(String platformGbID, boolean online);
|
| | |
|
| | | /**
|
| | | * 更新媒体节点
|
| | | * @param mediaServerItem
|
| | | */
|
| | | void updateMediaServer(MediaServerItem mediaServerItem);
|
| | |
|
| | | List<StreamProxyItem> getStreamProxyListForEnableInMediaServer(String id, boolean b);
|
| | |
|
| | | Device queryVideoDeviceByChannelId(String platformGbId);
|
| | | }
|