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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 void CreateNetworkDelayFeedbackGraph(Plot* plot); | 94 void CreateNetworkDelayFeedbackGraph(Plot* plot); |
95 void CreateTimestampGraph(Plot* plot); | 95 void CreateTimestampGraph(Plot* plot); |
96 | 96 |
97 void CreateAudioEncoderTargetBitrateGraph(Plot* plot); | 97 void CreateAudioEncoderTargetBitrateGraph(Plot* plot); |
98 void CreateAudioEncoderFrameLengthGraph(Plot* plot); | 98 void CreateAudioEncoderFrameLengthGraph(Plot* plot); |
99 void CreateAudioEncoderUplinkPacketLossFractionGraph(Plot* plot); | 99 void CreateAudioEncoderUplinkPacketLossFractionGraph(Plot* plot); |
100 void CreateAudioEncoderEnableFecGraph(Plot* plot); | 100 void CreateAudioEncoderEnableFecGraph(Plot* plot); |
101 void CreateAudioEncoderEnableDtxGraph(Plot* plot); | 101 void CreateAudioEncoderEnableDtxGraph(Plot* plot); |
102 void CreateAudioEncoderNumChannelsGraph(Plot* plot); | 102 void CreateAudioEncoderNumChannelsGraph(Plot* plot); |
| 103 void CreateAudioJitterBufferGraph(const std::string& replacement_file_name, |
| 104 int file_sample_rate_hz, |
| 105 Plot* plot); |
103 | 106 |
104 // Returns a vector of capture and arrival timestamps for the video frames | 107 // Returns a vector of capture and arrival timestamps for the video frames |
105 // of the stream with the most number of frames. | 108 // of the stream with the most number of frames. |
106 std::vector<std::pair<int64_t, int64_t>> GetFrameTimestamps() const; | 109 std::vector<std::pair<int64_t, int64_t>> GetFrameTimestamps() const; |
107 | 110 |
108 private: | 111 private: |
109 class StreamId { | 112 class StreamId { |
110 public: | 113 public: |
111 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) | 114 StreamId(uint32_t ssrc, webrtc::PacketDirection direction) |
112 : ssrc_(ssrc), direction_(direction) {} | 115 : ssrc_(ssrc), direction_(direction) {} |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 uint64_t end_time_; | 190 uint64_t end_time_; |
188 | 191 |
189 // Duration (in seconds) of log file. | 192 // Duration (in seconds) of log file. |
190 float call_duration_s_; | 193 float call_duration_s_; |
191 }; | 194 }; |
192 | 195 |
193 } // namespace plotting | 196 } // namespace plotting |
194 } // namespace webrtc | 197 } // namespace webrtc |
195 | 198 |
196 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ | 199 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_ANALYZER_H_ |
OLD | NEW |