Merge pull request #751 from yjkhtddx/wvp-28181-2.0

RTP推流地址应使用SDP中Connection中的IP地址
pull/753/head
648540858 2023-02-20 09:51:51 +08:00 committed by GitHub
commit d0532e7749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
return;
}
String username = sdp.getOrigin().getUsername();
String addressStr = sdp.getOrigin().getAddress();
String addressStr = sdp.getConnection().getAddress();
logger.info("[上级点播]用户:{} 通道:{}, 地址:{}:{} ssrc{}", username, channelId, addressStr, port, ssrc);
Device device = null;
@ -912,7 +912,7 @@ public class InviteRequestProcessor extends SIPRequestProcessorParent implements
return;
}
String username = sdp.getOrigin().getUsername();
String addressStr = sdp.getOrigin().getAddress();
String addressStr = sdp.getConnection().getAddress();
logger.info("设备{}请求语音流,地址:{}:{}ssrc{}", username, addressStr, port, ssrc);
} catch (SdpException e) {
logger.error("[SDP解析异常]", e);