| 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 |
| 11 #include "webrtc/tools/event_log_visualizer/analyzer.h" | 11 #include "webrtc/tools/event_log_visualizer/analyzer.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <limits> | 14 #include <limits> |
| 15 #include <map> | 15 #include <map> |
| 16 #include <sstream> | 16 #include <sstream> |
| 17 #include <string> | 17 #include <string> |
| 18 #include <utility> | 18 #include <utility> |
| 19 | 19 |
| 20 #include "webrtc/api/call/audio_receive_stream.h" | |
| 21 #include "webrtc/api/call/audio_send_stream.h" | |
| 22 #include "webrtc/base/checks.h" | 20 #include "webrtc/base/checks.h" |
| 23 #include "webrtc/base/logging.h" | 21 #include "webrtc/base/logging.h" |
| 24 #include "webrtc/base/rate_statistics.h" | 22 #include "webrtc/base/rate_statistics.h" |
| 25 #include "webrtc/call.h" | 23 #include "webrtc/call/audio_receive_stream.h" |
| 24 #include "webrtc/call/audio_send_stream.h" |
| 25 #include "webrtc/call/call.h" |
| 26 #include "webrtc/common_types.h" | 26 #include "webrtc/common_types.h" |
| 27 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 27 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
| 28 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" | 28 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" |
| 29 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" | 29 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
| 30 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 30 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/common_header.h" |
| 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
| 31 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" | 33 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" |
| 32 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 34 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
| 33 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/common_header.h" | |
| 34 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | |
| 35 #include "webrtc/video_receive_stream.h" | 35 #include "webrtc/video_receive_stream.h" |
| 36 #include "webrtc/video_send_stream.h" | 36 #include "webrtc/video_send_stream.h" |
| 37 | 37 |
| 38 namespace webrtc { | 38 namespace webrtc { |
| 39 namespace plotting { | 39 namespace plotting { |
| 40 | 40 |
| 41 namespace { | 41 namespace { |
| 42 | 42 |
| 43 std::string SsrcToString(uint32_t ssrc) { | 43 std::string SsrcToString(uint32_t ssrc) { |
| 44 std::stringstream ss; | 44 std::stringstream ss; |
| (...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1162 point.y -= estimated_base_delay_ms; | 1162 point.y -= estimated_base_delay_ms; |
| 1163 // Add the data set to the plot. | 1163 // Add the data set to the plot. |
| 1164 plot->series_list_.push_back(std::move(time_series)); | 1164 plot->series_list_.push_back(std::move(time_series)); |
| 1165 | 1165 |
| 1166 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); | 1166 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); |
| 1167 plot->SetSuggestedYAxis(0, 10, "Delay (ms)", kBottomMargin, kTopMargin); | 1167 plot->SetSuggestedYAxis(0, 10, "Delay (ms)", kBottomMargin, kTopMargin); |
| 1168 plot->SetTitle("Network Delay Change."); | 1168 plot->SetTitle("Network Delay Change."); |
| 1169 } | 1169 } |
| 1170 } // namespace plotting | 1170 } // namespace plotting |
| 1171 } // namespace webrtc | 1171 } // namespace webrtc |
| OLD | NEW |