修复未结束的推流无法下载

This commit is contained in:
648540858 2021-12-07 11:40:17 +08:00
parent fc79be7ea8
commit a4b5c18db5

View File

@ -106,6 +106,7 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
}else { }else {
Integer code = jsonObject.getInteger("code"); Integer code = jsonObject.getInteger("code");
if (code == 0) { if (code == 0) {
streamLive = true;
StreamInfo streamInfo = mediaService.getStreamInfoByAppAndStream( StreamInfo streamInfo = mediaService.getStreamInfoByAppAndStream(
mediaInfo, param.getApp(), param.getStream(), null); mediaInfo, param.getApp(), param.getStream(), null);
wvpResult.setData(streamInfo); wvpResult.setData(streamInfo);