修复空指针异常

pull/1411/head
648540858 2024-04-01 16:20:30 +08:00
parent 722f1d0ee7
commit 4d6f881460
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ public class StreamProxyServiceImpl implements IStreamProxyService {
return null;
}
List<StreamInfo> mediaList = mediaServerService.getMediaList(mediaServer, param.getApp(), param.getStream(), null);
if (mediaList.isEmpty()) {
if (mediaList == null || mediaList.isEmpty()) {
return true;
}
Boolean result = false;