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

pull/276/head
648540858 2021-12-07 11:40:17 +08:00
parent 2753e1acf3
commit 381b3d15ca
1 changed files with 1 additions and 0 deletions

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);