mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +08:00
Merge branch 'rtsp_proxy' into develop
This commit is contained in:
commit
c0d8579510
@ -1 +1 @@
|
|||||||
Subproject commit 00e33963bcc4d6c06bb5939e3fbd1036b7ca64c8
|
Subproject commit 05fe22e8e4194c8795b48fc1c241ae8d49610dcc
|
@ -499,7 +499,7 @@ inline void RtspSession::send_SessionNotFound() {
|
|||||||
}
|
}
|
||||||
bool RtspSession::handleReq_Setup() {
|
bool RtspSession::handleReq_Setup() {
|
||||||
//处理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);
|
int trackIdx = getTrackIndexByControlSuffix(controlSuffix);
|
||||||
if (trackIdx == -1) {
|
if (trackIdx == -1) {
|
||||||
//未找到相应track
|
//未找到相应track
|
||||||
|
Loading…
Reference in New Issue
Block a user