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);