OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 *static_cast<rtcp::TransportFeedback*>(rtcp.packet.get())); | 827 *static_cast<rtcp::TransportFeedback*>(rtcp.packet.get())); |
828 } | 828 } |
829 ++rtcp_iterator; | 829 ++rtcp_iterator; |
830 } | 830 } |
831 if (clock.TimeInMicroseconds() >= NextRtpTime()) { | 831 if (clock.TimeInMicroseconds() >= NextRtpTime()) { |
832 RTC_DCHECK_EQ(clock.TimeInMicroseconds(), NextRtpTime()); | 832 RTC_DCHECK_EQ(clock.TimeInMicroseconds(), NextRtpTime()); |
833 const LoggedRtpPacket& rtp = *rtp_iterator->second; | 833 const LoggedRtpPacket& rtp = *rtp_iterator->second; |
834 if (rtp.header.extension.hasTransportSequenceNumber) { | 834 if (rtp.header.extension.hasTransportSequenceNumber) { |
835 RTC_DCHECK(rtp.header.extension.hasTransportSequenceNumber); | 835 RTC_DCHECK(rtp.header.extension.hasTransportSequenceNumber); |
836 cc.GetTransportFeedbackObserver()->AddPacket( | 836 cc.GetTransportFeedbackObserver()->AddPacket( |
837 rtp.header.extension.transportSequenceNumber, rtp.total_length, 0); | 837 rtp.header.extension.transportSequenceNumber, rtp.total_length, |
| 838 PacketInfo::kNotAProbe); |
838 rtc::SentPacket sent_packet( | 839 rtc::SentPacket sent_packet( |
839 rtp.header.extension.transportSequenceNumber, rtp.timestamp / 1000); | 840 rtp.header.extension.transportSequenceNumber, rtp.timestamp / 1000); |
840 cc.OnSentPacket(sent_packet); | 841 cc.OnSentPacket(sent_packet); |
841 } | 842 } |
842 ++rtp_iterator; | 843 ++rtp_iterator; |
843 } | 844 } |
844 if (clock.TimeInMicroseconds() >= NextProcessTime()) { | 845 if (clock.TimeInMicroseconds() >= NextProcessTime()) { |
845 RTC_DCHECK_EQ(clock.TimeInMicroseconds(), NextProcessTime()); | 846 RTC_DCHECK_EQ(clock.TimeInMicroseconds(), NextProcessTime()); |
846 cc.Process(); | 847 cc.Process(); |
847 } | 848 } |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
944 point.y -= estimated_base_delay_ms; | 945 point.y -= estimated_base_delay_ms; |
945 // Add the data set to the plot. | 946 // Add the data set to the plot. |
946 plot->series_list_.push_back(std::move(time_series)); | 947 plot->series_list_.push_back(std::move(time_series)); |
947 | 948 |
948 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); | 949 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); |
949 plot->SetSuggestedYAxis(0, 10, "Delay (ms)", kBottomMargin, kTopMargin); | 950 plot->SetSuggestedYAxis(0, 10, "Delay (ms)", kBottomMargin, kTopMargin); |
950 plot->SetTitle("Network Delay Change."); | 951 plot->SetTitle("Network Delay Change."); |
951 } | 952 } |
952 } // namespace plotting | 953 } // namespace plotting |
953 } // namespace webrtc | 954 } // namespace webrtc |
OLD | NEW |