old mode 100644
new mode 100755
 |  |  | 
 |  |  | package com.genersoft.iot.vmp.service; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson.JSONObject; | 
 |  |  | import com.alibaba.fastjson2.JSONObject; | 
 |  |  | import com.genersoft.iot.vmp.common.GeneralCallback; | 
 |  |  | import com.genersoft.iot.vmp.common.StreamInfo; | 
 |  |  | import com.genersoft.iot.vmp.media.zlm.ZLMServerConfig; | 
 |  |  | 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.StreamProxyItem; | 
 |  |  | import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem; | 
 |  |  | import com.genersoft.iot.vmp.vmanager.bean.WVPResult; | 
 |  |  | import com.genersoft.iot.vmp.vmanager.bean.ResourceBaseInfo; | 
 |  |  | import com.github.pagehelper.PageInfo; | 
 |  |  |  | 
 |  |  | public interface IStreamProxyService { | 
 |  |  | 
 |  |  |      * 保存视频代理 | 
 |  |  |      * @param param | 
 |  |  |      */ | 
 |  |  |     WVPResult<StreamInfo> save(StreamProxyItem param); | 
 |  |  |     void save(StreamProxyItem param, GeneralCallback<StreamInfo> callback); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 添加视频代理到zlm | 
 |  |  | 
 |  |  |     void zlmServerOffline(String mediaServerId); | 
 |  |  |  | 
 |  |  |     void clean(); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 更新代理流 | 
 |  |  |      */ | 
 |  |  |     boolean updateStreamProxy(StreamProxyItem streamProxyItem); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取统计信息 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     ResourceBaseInfo getOverview(); | 
 |  |  |  | 
 |  |  | } |