Merge pull request #1773 from QianNangong/patch-4

修复一个可能触发 NPE 的问题
pull/1783/head
648540858 2025-02-24 14:09:43 +08:00 committed by GitHub
commit 4162a731cb
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));