修复一个可能触发 NPE 的问题

pull/1773/head
南宫茜 2025-02-19 17:03:49 +08:00 committed by GitHub
parent 4a41de6039
commit 9f9141704e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -140,8 +140,6 @@ public class MediaServiceImpl implements IMediaService {
result.setEnable_mp4(userSetting.getRecordSip());
}
result.setEnable_mp4(inviteInfo.getRecord());
// 单端口模式下修改流 ID
if (!mediaServer.isRtpEnable() && inviteInfo == null) {
String ssrc = String.format("%010d", Long.parseLong(stream, 16));