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