|  |  |  | 
|---|
|  |  |  | package com.genersoft.iot.vmp.service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson.JSONObject; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.common.StreamInfo; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.media.zlm.dto.StreamProxyItem; | 
|---|
|  |  |  | import com.genersoft.iot.vmp.vmanager.bean.WVPResult; | 
|---|
|  |  |  | import com.github.pagehelper.PageInfo; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public interface IStreamProxyService { | 
|---|
|  |  |  | 
|---|
|  |  |  | * 保存视频代理 | 
|---|
|  |  |  | * @param param | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String save(StreamProxyItem param); | 
|---|
|  |  |  | WVPResult<StreamInfo> save(StreamProxyItem param); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 添加视频代理到zlm | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | JSONObject getFFmpegCMDs(MediaServerItem mediaServerItem); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据app与stream获取streamProxy | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | StreamProxyItem getStreamProxyByAppAndStream(String app, String streamId); | 
|---|
|  |  |  | } | 
|---|