修复国标级联点播

This commit is contained in:
648540858
2024-09-10 22:33:38 +08:00
parent 1b34787d3a
commit 09c668f017
2 changed files with 7 additions and 3 deletions

View File

@@ -52,8 +52,14 @@ public class SendRtpServerServiceImpl implements ISendRtpServerService {
if (localPort <= 0) {
throw new PlayException(javax.sip.message.Response.SERVER_INTERNAL_ERROR, "server internal error");
}
return SendRtpInfo.getInstance(localPort, mediaServer, ip, port, ssrc, null, platformId, channelId,
SendRtpInfo sendRtpInfo = SendRtpInfo.getInstance(localPort, mediaServer, ip, port, ssrc, null, platformId, channelId,
tcp, rtcp, userSetting.getServerId());
if (sendRtpInfo == null) {
return null;
}
sendRtpInfo.setApp(app);
sendRtpInfo.setStream(stream);
return sendRtpInfo;
}
@Override