mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 21:47:49 +08:00
修复国标级联播放拉流代理空指针异常
This commit is contained in:
parent
3b714f8e2c
commit
4a41de6039
@ -97,7 +97,7 @@ public class StreamProxyPlayServiceImpl implements IStreamProxyPlayService {
|
|||||||
streamProxy.setEnableMp4(record);
|
streamProxy.setEnableMp4(record);
|
||||||
}
|
}
|
||||||
StreamInfo streamInfo = startProxy(streamProxy);
|
StreamInfo streamInfo = startProxy(streamProxy);
|
||||||
if (streamInfo != null) {
|
if (streamInfo != null && callback != null) {
|
||||||
callback.run(ErrorCode.SUCCESS.getCode(), ErrorCode.SUCCESS.getMsg(), streamInfo);
|
callback.run(ErrorCode.SUCCESS.getCode(), ErrorCode.SUCCESS.getMsg(), streamInfo);
|
||||||
}
|
}
|
||||||
return streamInfo;
|
return streamInfo;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user