mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 05:57:49 +08:00
修复空指针异常
This commit is contained in:
parent
722f1d0ee7
commit
4d6f881460
@ -383,7 +383,7 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
List<StreamInfo> mediaList = mediaServerService.getMediaList(mediaServer, param.getApp(), param.getStream(), null);
|
List<StreamInfo> mediaList = mediaServerService.getMediaList(mediaServer, param.getApp(), param.getStream(), null);
|
||||||
if (mediaList.isEmpty()) {
|
if (mediaList == null || mediaList.isEmpty()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
Boolean result = false;
|
Boolean result = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user