优化日志

This commit is contained in:
648540858
2023-07-17 16:54:00 +08:00
parent 3483980ada
commit 7a120c6da4
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ public class SendRtpPortManager {
String key = KEY + userSetting.getServerId() + "_" + mediaServerId;
MediaSendRtpPortInfo mediaSendRtpPortInfo = (MediaSendRtpPortInfo)redisTemplate.opsForValue().get(key);
if (mediaSendRtpPortInfo == null) {
logger.warn("[发送端口管理] 获取{}的发送端口时未找到端口信息", mediaSendRtpPortInfo);
logger.warn("[发送端口管理] 获取{}的发送端口时未找到端口信息", mediaServerId);
return 0;
}
int port;