Merge branch 'rtsp_proxy' into develop

This commit is contained in:
xiongziliang
2018-09-20 11:40:52 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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