mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 05:57:49 +08:00
修复一个可能触发 NPE 的问题
This commit is contained in:
parent
4a41de6039
commit
9f9141704e
@ -140,8 +140,6 @@ public class MediaServiceImpl implements IMediaService {
|
|||||||
result.setEnable_mp4(userSetting.getRecordSip());
|
result.setEnable_mp4(userSetting.getRecordSip());
|
||||||
}
|
}
|
||||||
|
|
||||||
result.setEnable_mp4(inviteInfo.getRecord());
|
|
||||||
|
|
||||||
// 单端口模式下修改流 ID
|
// 单端口模式下修改流 ID
|
||||||
if (!mediaServer.isRtpEnable() && inviteInfo == null) {
|
if (!mediaServer.isRtpEnable() && inviteInfo == null) {
|
||||||
String ssrc = String.format("%010d", Long.parseLong(stream, 16));
|
String ssrc = String.format("%010d", Long.parseLong(stream, 16));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user