拉流代理接口添加无人观看则自动移除参数,拉流代理返回值增加流地址信息

This commit is contained in:
648540858
2021-11-24 15:09:43 +08:00
parent dbcd050c66
commit 20082441ef
10 changed files with 54 additions and 3 deletions

View File

@@ -65,4 +65,10 @@ public interface IStreamProxyService {
* @return
*/
JSONObject getFFmpegCMDs(MediaServerItem mediaServerItem);
/**
* 根据app与stream获取streamProxy
* @return
*/
StreamProxyItem getStreamProxyByAppAndStream(String app, String streamId);
}

View File

@@ -228,4 +228,10 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
return result;
}
@Override
public StreamProxyItem getStreamProxyByAppAndStream(String app, String streamId) {
return videoManagerStorager.getStreamProxyByAppAndStream(app, streamId);
}
}