From 7c019dbeef4ee1f79bd09d87abf18112b4ffc376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=B7=83=E9=BE=99?= Date: Thu, 16 Feb 2023 18:18:10 +0800 Subject: [PATCH] =?UTF-8?q?RTP=E6=8E=A8=E6=B5=81=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E5=BA=94=E4=BD=BF=E7=94=A8SDP=E4=B8=ADConnection=E4=B8=AD?= =?UTF-8?q?=E7=9A=84IP=E5=9C=B0=E5=9D=80=EF=BC=8C=E5=8E=9F=E6=9D=A5?= =?UTF-8?q?=E4=BD=BF=E7=94=A8Origin=E4=B8=AD=E7=9A=84IP=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=EF=BC=8C=E5=9C=A8=E6=B5=81=E5=AA=92=E4=BD=93=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=92=8C=E4=BF=A1=E4=BB=A4=E6=9C=8D=E5=8A=A1=E4=B8=8D=E5=9C=A8?= =?UTF-8?q?=E5=90=8C=E4=B8=80=E5=8F=B0=E8=AE=BE=E5=A4=87=E4=B8=8A=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=AA=92=E4=BD=93=E6=B5=81=E6=95=B0=E6=8D=AE=E5=B0=86?= =?UTF-8?q?=E5=8F=91=E7=BB=99=E4=BF=A1=E4=BB=A4=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E6=92=AD=E6=94=BE?= =?UTF-8?q?BUG=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../transmit/event/request/impl/InviteRequestProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java index d320ac52..81dd8d81 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/InviteRequestProcessor.java @@ -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);