From 67123ffa85c99c6ca93c50ca3df7b7fcb1d41fdb Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Mon, 29 Jun 2020 15:49:12 +0200 Subject: [PATCH] sdp: remove old workaround Removes an old workaround for a firefox issue that was fixed in 2014. BUG=webrtc:3212 Change-Id: I3ad71e29249908d840474cf3ee99a094c9201f6d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/178381 Reviewed-by: Tommi Commit-Queue: Philipp Hancke Cr-Commit-Position: refs/heads/master@{#31584} --- pc/webrtc_sdp.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pc/webrtc_sdp.cc b/pc/webrtc_sdp.cc index ef01eca80d..3188e3a956 100644 --- a/pc/webrtc_sdp.cc +++ b/pc/webrtc_sdp.cc @@ -2631,12 +2631,6 @@ bool ParseMediaDescription( std::vector payload_types; if (cricket::IsRtpProtocol(protocol)) { for (size_t j = 3; j < fields.size(); ++j) { - // TODO(wu): Remove when below bug is fixed. - // https://bugzilla.mozilla.org/show_bug.cgi?id=996329 - if (fields[j].empty() && j == fields.size() - 1) { - continue; - } - int pl = 0; if (!GetPayloadTypeFromString(line, fields[j], &pl, error)) { return false;