From 2217211464178bcbddd5db795ce25ff7c1646d18 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Mon, 20 May 2019 09:43:13 +0800 Subject: [PATCH] =?UTF-8?q?rtp=E7=BB=84=E6=92=AD=E7=9B=91=E5=90=AC?= =?UTF-8?q?=E7=BB=84=E6=92=AD=E5=9C=B0=E5=9D=80=20=E6=9B=B4=E6=96=B0ZLTool?= =?UTF-8?q?Kit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpart/ZLToolKit | 2 +- src/Rtsp/RtspPlayer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdpart/ZLToolKit b/3rdpart/ZLToolKit index 02c344ef..8390b181 160000 --- a/3rdpart/ZLToolKit +++ b/3rdpart/ZLToolKit @@ -1 +1 @@ -Subproject commit 02c344efb0eba8bd4f1eec8fb5dce3db5bda284a +Subproject commit 8390b18171dd7a49b71cb28bd718bb9372c1421b diff --git a/src/Rtsp/RtspPlayer.cpp b/src/Rtsp/RtspPlayer.cpp index c4768ace..5b2de918 100644 --- a/src/Rtsp/RtspPlayer.cpp +++ b/src/Rtsp/RtspPlayer.cpp @@ -305,7 +305,7 @@ void RtspPlayer::handleResSETUP(const Parser &parser, unsigned int uiTrackIndex) //udp组播 auto multiAddr = FindField((strTransport + ";").data(), "destination=", ";"); pRtpSockRef.reset(new Socket()); - if (!pRtpSockRef->bindUdpSock(rtp_port, "0.0.0.0")) { + if (!pRtpSockRef->bindUdpSock(rtp_port, multiAddr.data())) { pRtpSockRef.reset(); throw std::runtime_error("open udp sock err"); }