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 #ifndef WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | 11 #ifndef WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
12 #define WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | 12 #define WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <memory> | 15 #include <memory> |
16 #include <set> | 16 #include <set> |
17 #include <string> | 17 #include <string> |
18 #include <utility> | 18 #include <utility> |
19 #include <vector> | 19 #include <vector> |
20 | 20 |
| 21 #include "webrtc/base/function_view.h" |
21 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" | 22 #include "webrtc/logging/rtc_event_log/rtc_event_log_parser.h" |
22 #include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_networ
k_adaptor.h" | 23 #include "webrtc/modules/audio_coding/audio_network_adaptor/include/audio_networ
k_adaptor.h" |
23 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 24 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" | 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" |
25 #include "webrtc/rtc_base/function_view.h" | |
26 #include "webrtc/rtc_tools/event_log_visualizer/plot_base.h" | 26 #include "webrtc/rtc_tools/event_log_visualizer/plot_base.h" |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 namespace plotting { | 29 namespace plotting { |
30 | 30 |
31 struct LoggedRtpPacket { | 31 struct LoggedRtpPacket { |
32 LoggedRtpPacket(uint64_t timestamp, RTPHeader header, size_t total_length) | 32 LoggedRtpPacket(uint64_t timestamp, RTPHeader header, size_t total_length) |
33 : timestamp(timestamp), header(header), total_length(total_length) {} | 33 : timestamp(timestamp), header(header), total_length(total_length) {} |
34 uint64_t timestamp; | 34 uint64_t timestamp; |
35 // TODO(terelius): This allocates space for 15 CSRCs even if none are used. | 35 // TODO(terelius): This allocates space for 15 CSRCs even if none are used. |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 uint64_t end_time_; | 197 uint64_t end_time_; |
198 | 198 |
199 // Duration (in seconds) of log file. | 199 // Duration (in seconds) of log file. |
200 float call_duration_s_; | 200 float call_duration_s_; |
201 }; | 201 }; |
202 | 202 |
203 } // namespace plotting | 203 } // namespace plotting |
204 } // namespace webrtc | 204 } // namespace webrtc |
205 | 205 |
206 #endif // WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | 206 #endif // WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
OLD | NEW |