mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 08:39:34 +08:00
修复拉取rtsp流 SETUP 返回 454 Session Not Found
This commit is contained in:
parent
f9f9cde2b4
commit
2cb2fa1510
@ -256,6 +256,8 @@ void RtspPlayer::handleResSETUP(const Parser &parser, unsigned int track_idx) {
|
|||||||
}
|
}
|
||||||
if (track_idx == 0) {
|
if (track_idx == 0) {
|
||||||
_session_id = parser["Session"];
|
_session_id = parser["Session"];
|
||||||
|
_session_id.append(";");
|
||||||
|
_session_id = FindField(_session_id.data(), nullptr, ";");
|
||||||
}
|
}
|
||||||
|
|
||||||
auto strTransport = parser["Transport"];
|
auto strTransport = parser["Transport"];
|
||||||
|
Loading…
Reference in New Issue
Block a user