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

Side by Side Diff: webrtc/tools/event_log_visualizer/analyzer.cc

Issue 2666533002: Add probe logging to RtcEventLog. (Closed)
Patch Set: Rebase + format Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 case ParsedRtcEventLog::DELAY_BASED_BWE_UPDATE: { 450 case ParsedRtcEventLog::DELAY_BASED_BWE_UPDATE: {
451 break; 451 break;
452 } 452 }
453 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: { 453 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: {
454 AudioNetworkAdaptationEvent ana_event; 454 AudioNetworkAdaptationEvent ana_event;
455 ana_event.timestamp = parsed_log_.GetTimestamp(i); 455 ana_event.timestamp = parsed_log_.GetTimestamp(i);
456 parsed_log_.GetAudioNetworkAdaptation(i, &ana_event.config); 456 parsed_log_.GetAudioNetworkAdaptation(i, &ana_event.config);
457 audio_network_adaptation_events_.push_back(ana_event); 457 audio_network_adaptation_events_.push_back(ana_event);
458 break; 458 break;
459 } 459 }
460 case ParsedRtcEventLog::BWE_PROBE_CLUSTER_CREATED_EVENT: {
461 break;
462 }
463 case ParsedRtcEventLog::BWE_PROBE_RESULT_EVENT: {
464 break;
465 }
460 case ParsedRtcEventLog::UNKNOWN_EVENT: { 466 case ParsedRtcEventLog::UNKNOWN_EVENT: {
461 break; 467 break;
462 } 468 }
463 } 469 }
464 } 470 }
465 471
466 if (last_timestamp < first_timestamp) { 472 if (last_timestamp < first_timestamp) {
467 // No useful events in the log. 473 // No useful events in the log.
468 first_timestamp = last_timestamp = 0; 474 first_timestamp = last_timestamp = 0;
469 } 475 }
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 return rtc::Optional<float>(); 1381 return rtc::Optional<float>();
1376 }); 1382 });
1377 plot->series_list_.back().label = "Audio encoder number of channels"; 1383 plot->series_list_.back().label = "Audio encoder number of channels";
1378 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin); 1384 plot->SetXAxis(0, call_duration_s_, "Time (s)", kLeftMargin, kRightMargin);
1379 plot->SetSuggestedYAxis(0, 1, "Number of channels (1 (mono)/2 (stereo))", 1385 plot->SetSuggestedYAxis(0, 1, "Number of channels (1 (mono)/2 (stereo))",
1380 kBottomMargin, kTopMargin); 1386 kBottomMargin, kTopMargin);
1381 plot->SetTitle("Reported audio encoder number of channels"); 1387 plot->SetTitle("Reported audio encoder number of channels");
1382 } 1388 }
1383 } // namespace plotting 1389 } // namespace plotting
1384 } // namespace webrtc 1390 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698