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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 void CreateFractionLossGraph(Plot* plot); | 79 void CreateFractionLossGraph(Plot* plot); |
80 | 80 |
81 void CreateTotalBitrateGraph(PacketDirection desired_direction, Plot* plot); | 81 void CreateTotalBitrateGraph(PacketDirection desired_direction, Plot* plot); |
82 | 82 |
83 void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot); | 83 void CreateStreamBitrateGraph(PacketDirection desired_direction, Plot* plot); |
84 | 84 |
85 void CreateBweSimulationGraph(Plot* plot); | 85 void CreateBweSimulationGraph(Plot* plot); |
86 | 86 |
87 void CreateNetworkDelayFeedbackGraph(Plot* plot); | 87 void CreateNetworkDelayFeedbackGraph(Plot* plot); |
| 88 void CreateTimestampGraph(Plot* plot); |
88 | 89 |
89 // Returns a vector of capture and arrival timestamps for the video frames | 90 // Returns a vector of capture and arrival timestamps for the video frames |
90 // of the stream with the most number of frames. | 91 // of the stream with the most number of frames. |
91 std::vector<std::pair<int64_t, int64_t>> GetFrameTimestamps() const; | 92 std::vector<std::pair<int64_t, int64_t>> GetFrameTimestamps() const; |
92 | 93 |
93 private: | 94 private: |
94 class StreamId { | 95 class StreamId { |
95 public: | 96 public: |
96 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) | 97 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) |
97 : ssrc_(ssrc), direction_(direction) {} | 98 : ssrc_(ssrc), direction_(direction) {} |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 uint64_t end_time_; | 164 uint64_t end_time_; |
164 | 165 |
165 // Duration (in seconds) of log file. | 166 // Duration (in seconds) of log file. |
166 float call_duration_s_; | 167 float call_duration_s_; |
167 }; | 168 }; |
168 | 169 |
169 } // namespace plotting | 170 } // namespace plotting |
170 } // namespace webrtc | 171 } // namespace webrtc |
171 | 172 |
172 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | 173 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
OLD | NEW |