Index: media/cast/net/rtcp/rtcp_utility.cc |
diff --git a/media/cast/net/rtcp/rtcp_utility.cc b/media/cast/net/rtcp/rtcp_utility.cc |
index f6785f8814a0ff4b8d39518870e2b8368a552b92..a1a6a48c1d792e135ce1fc54cd93be5b3e579bfe 100644 |
--- a/media/cast/net/rtcp/rtcp_utility.cc |
+++ b/media/cast/net/rtcp/rtcp_utility.cc |
@@ -312,14 +312,6 @@ bool RtcpParser::ParseExtendedReport(base::BigEndianReader* reader, |
return false; |
break; |
- case 5: // DLRR. RFC3611 Section 4.5. |
- if (block_length % 3 != 0) |
- return false; |
- for (int block = 0; block < block_length / 3; block++) |
- if (!ParseExtendedReportDelaySinceLastReceiverReport(reader)) |
- return false; |
- return true; |
- |
default: |
// Skip unknown item. |
if (!reader->Skip(block_length * 4)) |
@@ -342,24 +334,6 @@ bool RtcpParser::ParseExtendedReportReceiverReferenceTimeReport( |
return true; |
} |
-bool RtcpParser::ParseExtendedReportDelaySinceLastReceiverReport( |
- base::BigEndianReader* reader) { |
- uint32 ssrc, last_report, delay; |
- if (!reader->ReadU32(&ssrc) || |
- !reader->ReadU32(&last_report) || |
- !reader->ReadU32(&delay)) |
- return false; |
- |
- if (ssrc == remote_ssrc_) { |
- last_report_ = last_report; |
- delay_since_last_report_ = delay; |
- has_last_report_ = true; |
- } |
- |
- has_last_report_ = true; |
- return true; |
-} |
- |
// Converts a log event type to an integer value. |
// NOTE: We have only allocated 4 bits to represent the type of event over the |
// wire. Therefore, this function can only return values from 0 to 15. |