mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 13:37:49 +08:00
修复空指针异常
This commit is contained in:
parent
cf5ca3afb9
commit
9d37e96f06
@ -763,7 +763,7 @@ public class MediaServerServiceImpl implements IMediaServerService {
|
|||||||
calld = streamAuthorityInfo.getCallId();
|
calld = streamAuthorityInfo.getCallId();
|
||||||
}
|
}
|
||||||
List<StreamInfo> streamInfoList = getMediaList(mediaInfo, app, stream, calld);
|
List<StreamInfo> streamInfoList = getMediaList(mediaInfo, app, stream, calld);
|
||||||
if (streamInfoList.isEmpty()) {
|
if (streamInfoList == null || streamInfoList.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
}else {
|
}else {
|
||||||
return streamInfoList.get(0);
|
return streamInfoList.get(0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user