From 72bae90eadab6602154b6e838b78a09f2df371c8 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 31 May 2018 15:58:05 +0200 Subject: [PATCH] Fixed compatibility with broken RTSP implementation of Larix --- lib/sdp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sdp.cpp b/lib/sdp.cpp index 43a6efcb..2ca1b91b 100644 --- a/lib/sdp.cpp +++ b/lib/sdp.cpp @@ -369,7 +369,7 @@ namespace SDP{ continue; } getline(words, item, ' '); - if (!getline(words, item, ' ') || item != "RTP/AVP"){ + if (!getline(words, item, ' ') || item.substr(0, 7) != "RTP/AVP"){ WARN_MSG("Media transport not supported: %s", item.c_str()); myMeta->tracks.erase(trackNo); tracks.erase(trackNo);