mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 11:17:09 +08:00
Merge pull request #662 from musicwood/patch-1
修复拉取rtsp流 SETUP 返回 454 Session Not Found
This commit is contained in:
commit
30efc9f37f
@ -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