增加日志提示

This commit is contained in:
648540858
2023-12-17 23:41:21 +08:00
parent d8011e9ee7
commit 7430c98309

View File

@@ -163,10 +163,9 @@ public class MediaServerServiceImpl implements IMediaServerService {
if (streamId == null) {
streamId = String.format("%08x", Long.parseLong(ssrc)).toUpperCase();
}
int ssrcCheckParam = 0;
if (ssrcCheck && tcpMode > 1) {
if (ssrcCheck && tcpMode > 0) {
// 目前zlm不支持 tcp模式更新ssrc暂时关闭ssrc校验
logger.warn("[openRTPServer] TCP被动/TCP主动收流时,默认关闭ssrc");
logger.warn("[openRTPServer] 平台对接时下级可能自定义ssrc但是tcp模式zlm收流目前无法更新ssrc可能收流时,此时请使用udp收流或者关闭ssrc");
}
int rtpServerPort;
if (mediaServerItem.isRtpEnable()) {