Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: webrtc/tools/event_log_visualizer/analyzer.h

Issue 2876423002: Add NetEq delay plotting to event_log_visualizer (Closed)
Patch Set: After terilius's review Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/tools/event_log_visualizer/analyzer.h
diff --git a/webrtc/tools/event_log_visualizer/analyzer.h b/webrtc/tools/event_log_visualizer/analyzer.h
index 988f2cb482151aaa87288cf27ef119c7e5f38527..67edcb55c5211a3292de0544ce9dcdc1dc8c2712 100644
--- a/webrtc/tools/event_log_visualizer/analyzer.h
+++ b/webrtc/tools/event_log_visualizer/analyzer.h
@@ -100,6 +100,9 @@ class EventLogAnalyzer {
void CreateAudioEncoderEnableFecGraph(Plot* plot);
void CreateAudioEncoderEnableDtxGraph(Plot* plot);
void CreateAudioEncoderNumChannelsGraph(Plot* plot);
+ void CreateAudioJitterBufferGraph(const std::string& replacement_file_name,
+ int file_sample_rate_hz,
+ Plot* plot);
// Returns a vector of capture and arrival timestamps for the video frames
// of the stream with the most number of frames.
@@ -163,6 +166,12 @@ class EventLogAnalyzer {
std::map<StreamId, std::vector<LoggedRtcpPacket>> rtcp_packets_;
+ // Maps an SSRC to the timestamps of parsed audio playout events.
+ std::map<uint32_t, std::vector<uint64_t>> audio_playout_events_;
+
+ // Stores the timestamps for all log end events found.
+ std::vector<uint64_t> log_end_events_;
terelius 2017/06/09 14:48:36 std::vector<std::pair<uint64_t, uint64_t>> log_seg
hlundin-webrtc 2017/06/12 07:15:08 I did something, but I'm not sure what assumptions
terelius 2017/06/13 15:16:26 Yes, we write a LOG_START event whenever we start
hlundin-webrtc 2017/06/14 12:09:12 Done. That seems like a good solution.
+
// A list of all updates from the send-side loss-based bandwidth estimator.
std::vector<LossBasedBweUpdate> bwe_loss_updates_;

Powered by Google App Engine
This is Rietveld 408576698