From e16d0e20f00b077f1f1484b2acf0200ea71524c5 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 20 Sep 2018 10:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZLToolKit | 2 +- src/Rtsp/RtspSession.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ZLToolKit b/ZLToolKit index 00e33963..05fe22e8 160000 --- a/ZLToolKit +++ b/ZLToolKit @@ -1 +1 @@ -Subproject commit 00e33963bcc4d6c06bb5939e3fbd1036b7ca64c8 +Subproject commit 05fe22e8e4194c8795b48fc1c241ae8d49610dcc diff --git a/src/Rtsp/RtspSession.cpp b/src/Rtsp/RtspSession.cpp index eb56b3fa..3c930ac3 100644 --- a/src/Rtsp/RtspSession.cpp +++ b/src/Rtsp/RtspSession.cpp @@ -499,7 +499,7 @@ inline void RtspSession::send_SessionNotFound() { } bool RtspSession::handleReq_Setup() { //处理setup命令,该函数可能进入多次 - auto controlSuffix = m_parser.Url().substr(1 + m_parser.Url().rfind('/')); + auto controlSuffix = m_parser.FullUrl().substr(1 + m_parser.FullUrl().rfind('/')); int trackIdx = getTrackIndexByControlSuffix(controlSuffix); if (trackIdx == -1) { //未找到相应track