|
@@ -68,6 +68,8 @@ Description::Description(const string &sdp, Type type, Role role)
|
|
|
finished = !std::getline(ss, line) && line.empty();
|
|
|
trim_end(line);
|
|
|
|
|
|
+ LOG_DEBUG << line;
|
|
|
+
|
|
|
// Media description line (aka m-line)
|
|
|
if (finished || match_prefix(line, "m=")) {
|
|
|
if (currentMedia) {
|
|
@@ -76,7 +78,8 @@ Description::Description(const string &sdp, Type type, Role role)
|
|
|
mData.mid = currentMedia->mid;
|
|
|
else
|
|
|
mMedia.emplace(currentMedia->mid, std::move(*currentMedia));
|
|
|
- } else {
|
|
|
+
|
|
|
+ } else if (line.find(" ICE/SDP") != string::npos) {
|
|
|
PLOG_WARNING << "SDP \"m=\" line has no corresponding mid, ignoring";
|
|
|
}
|
|
|
}
|