From 2cb2fa1510b1bf48b50c14b56956999018f1e7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=99=93=E6=9E=97?= <3955713+musicwood@users.noreply.github.com> Date: Tue, 29 Dec 2020 12:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8B=89=E5=8F=96rtsp?= =?UTF-8?q?=E6=B5=81=20SETUP=20=E8=BF=94=E5=9B=9E=20454=20Session=20Not=20?= =?UTF-8?q?Found?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtsp/RtspPlayer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Rtsp/RtspPlayer.cpp b/src/Rtsp/RtspPlayer.cpp index 7a47375f..f692d54a 100644 --- a/src/Rtsp/RtspPlayer.cpp +++ b/src/Rtsp/RtspPlayer.cpp @@ -256,6 +256,8 @@ void RtspPlayer::handleResSETUP(const Parser &parser, unsigned int track_idx) { } if (track_idx == 0) { _session_id = parser["Session"]; + _session_id.append(";"); + _session_id = FindField(_session_id.data(), nullptr, ";"); } auto strTransport = parser["Transport"];