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

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

Issue 2631703002: Revert of Log audio network adapter decisions in event log. (Closed)
Patch Set: Created 3 years, 11 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/tools/BUILD.gn ('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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 } 416 }
417 case ParsedRtcEventLog::BWE_PACKET_LOSS_EVENT: { 417 case ParsedRtcEventLog::BWE_PACKET_LOSS_EVENT: {
418 BwePacketLossEvent bwe_update; 418 BwePacketLossEvent bwe_update;
419 bwe_update.timestamp = parsed_log_.GetTimestamp(i); 419 bwe_update.timestamp = parsed_log_.GetTimestamp(i);
420 parsed_log_.GetBwePacketLossEvent(i, &bwe_update.new_bitrate, 420 parsed_log_.GetBwePacketLossEvent(i, &bwe_update.new_bitrate,
421 &bwe_update.fraction_loss, 421 &bwe_update.fraction_loss,
422 &bwe_update.expected_packets); 422 &bwe_update.expected_packets);
423 bwe_loss_updates_.push_back(bwe_update); 423 bwe_loss_updates_.push_back(bwe_update);
424 break; 424 break;
425 } 425 }
426 case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: {
427 break;
428 }
429 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: { 426 case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: {
430 break; 427 break;
431 } 428 }
432 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: { 429 case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: {
433 break; 430 break;
434 } 431 }
435 case ParsedRtcEventLog::UNKNOWN_EVENT: { 432 case ParsedRtcEventLog::UNKNOWN_EVENT: {
436 break; 433 break;
437 } 434 }
438 } 435 }
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 int64_t capture_ms = packet.header.timestamp / 90.0; 1190 int64_t capture_ms = packet.header.timestamp / 90.0;
1194 int64_t arrival_ms = packet.timestamp / 1000.0; 1191 int64_t arrival_ms = packet.timestamp / 1000.0;
1195 timestamps.push_back(std::make_pair(capture_ms, arrival_ms)); 1192 timestamps.push_back(std::make_pair(capture_ms, arrival_ms));
1196 } 1193 }
1197 } 1194 }
1198 } 1195 }
1199 return timestamps; 1196 return timestamps;
1200 } 1197 }
1201 } // namespace plotting 1198 } // namespace plotting
1202 } // namespace webrtc 1199 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/tools/BUILD.gn ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698