| 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 11 matching lines...) Expand all Loading... |
| 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" | 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" |
| 23 #include "webrtc/tools/event_log_visualizer/plot_base.h" | 23 #include "webrtc/tools/event_log_visualizer/plot_base.h" |
| 24 | 24 |
| 25 namespace webrtc { | 25 namespace webrtc { |
| 26 namespace plotting { | 26 namespace plotting { |
| 27 | 27 |
| 28 struct LoggedRtpPacket { | 28 struct LoggedRtpPacket { |
| 29 LoggedRtpPacket(uint64_t timestamp, RTPHeader header, size_t total_length) | 29 LoggedRtpPacket(uint64_t timestamp, RTPHeader header, size_t total_length) |
| 30 : timestamp(timestamp), header(header), total_length(total_length) {} | 30 : timestamp(timestamp), header(header), total_length(total_length) {} |
| 31 uint64_t timestamp; | 31 uint64_t timestamp; |
| 32 // TODO(terelius): This allocates space for 15 CSRCs even if none are used. |
| 32 RTPHeader header; | 33 RTPHeader header; |
| 33 size_t total_length; | 34 size_t total_length; |
| 34 }; | 35 }; |
| 35 | 36 |
| 36 struct LoggedRtcpPacket { | 37 struct LoggedRtcpPacket { |
| 37 LoggedRtcpPacket(uint64_t timestamp, | 38 LoggedRtcpPacket(uint64_t timestamp, |
| 38 RTCPPacketType rtcp_type, | 39 RTCPPacketType rtcp_type, |
| 39 std::unique_ptr<rtcp::RtcpPacket> rtcp_packet) | 40 std::unique_ptr<rtcp::RtcpPacket> rtcp_packet) |
| 40 : timestamp(timestamp), type(rtcp_type), packet(std::move(rtcp_packet)) {} | 41 : timestamp(timestamp), type(rtcp_type), packet(std::move(rtcp_packet)) {} |
| 41 uint64_t timestamp; | 42 uint64_t timestamp; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 uint64_t end_time_; | 142 uint64_t end_time_; |
| 142 | 143 |
| 143 // Duration (in seconds) of log file. | 144 // Duration (in seconds) of log file. |
| 144 float call_duration_s_; | 145 float call_duration_s_; |
| 145 }; | 146 }; |
| 146 | 147 |
| 147 } // namespace plotting | 148 } // namespace plotting |
| 148 } // namespace webrtc | 149 } // namespace webrtc |
| 149 | 150 |
| 150 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | 151 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
| OLD | NEW |