Index: webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc |
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc |
index 767c55147910e6d7b9c8ec7f5a38bcabbb5f4050..ec7c6163b3e8865d0703e83200b040f914f0c4f8 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.cc |
@@ -376,41 +376,10 @@ uint16_t TransportFeedback::GetBaseSequence() const { |
return base_seq_no_; |
} |
-std::vector<TransportFeedback::StatusSymbol> |
-TransportFeedback::GetStatusVector() const { |
- std::vector<TransportFeedback::StatusSymbol> symbols; |
- uint16_t seq_no = GetBaseSequence(); |
- for (const auto& packet : packets_) { |
- for (; seq_no != packet.sequence_number(); ++seq_no) |
- symbols.push_back(StatusSymbol::kNotReceived); |
- if (packet.delta_ticks() >= 0x00 && packet.delta_ticks() <= 0xff) { |
- symbols.push_back(StatusSymbol::kReceivedSmallDelta); |
- } else { |
- symbols.push_back(StatusSymbol::kReceivedLargeDelta); |
- } |
- ++seq_no; |
- } |
- return symbols; |
-} |
- |
-std::vector<int16_t> TransportFeedback::GetReceiveDeltas() const { |
- std::vector<int16_t> deltas; |
- for (const auto& packet : packets_) |
- deltas.push_back(packet.delta_ticks()); |
- return deltas; |
-} |
- |
int64_t TransportFeedback::GetBaseTimeUs() const { |
return static_cast<int64_t>(base_time_ticks_) * kBaseScaleFactor; |
} |
-std::vector<int64_t> TransportFeedback::GetReceiveDeltasUs() const { |
- std::vector<int64_t> us_deltas; |
- for (const auto& packet : packets_) |
- us_deltas.push_back(packet.delta_us()); |
- return us_deltas; |
-} |
- |
// De-serialize packet. |
bool TransportFeedback::Parse(const CommonHeader& packet) { |
RTC_DCHECK_EQ(packet.type(), kPacketType); |