Browse Source

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

pull/276/head
648540858 3 years ago
parent
commit
381b3d15ca
  1. 1
      src/main/java/com/genersoft/iot/vmp/service/impl/StreamProxyServiceImpl.java

1
src/main/java/com/genersoft/iot/vmp/service/impl/StreamProxyServiceImpl.java

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

Loading…
Cancel
Save