Merge branch 'master' of https://github.com/xia-chu/ZLMediaKit into open_src

This commit is contained in:
xiongziliang 2021-01-02 20:06:29 +08:00
commit 122c853119

View File

@ -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"];