修复空指针异常
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user