Added graph for plotting the audio level from an Rtc event log.

This uses the audio level values that are stored in the RTP header extension.

BUG=webrtc:4741

Review-Url: https://codereview.webrtc.org/2346363003
Cr-Commit-Position: refs/heads/master@{#14352}
This commit is contained in:
ivoc
2016-09-22 07:01:47 -07:00
committed by Commit bot
parent d0ede4493e
commit aac9d6fb25
3 changed files with 74 additions and 0 deletions

View File

@ -25,6 +25,9 @@ DEFINE_bool(plot_packets,
DEFINE_bool(plot_audio_playout,
false,
"Plot bar graph showing the time between each audio playout.");
DEFINE_bool(plot_audio_level,
false,
"Plot line graph showing the audio level.");
DEFINE_bool(
plot_sequence_number,
false,
@ -108,6 +111,10 @@ int main(int argc, char* argv[]) {
analyzer.CreatePlayoutGraph(collection->AppendNewPlot());
}
if (FLAGS_plot_all || FLAGS_plot_audio_level) {
analyzer.CreateAudioLevelGraph(collection->AppendNewPlot());
}
if (FLAGS_plot_all || FLAGS_plot_sequence_number) {
if (FLAGS_incoming) {
analyzer.CreateSequenceNumberGraph(collection->AppendNewPlot());