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

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

Issue 2705613002: Rename some variables and methods in RTC event log. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.h ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/event_log_visualizer/analyzer.cc
diff --git a/webrtc/tools/event_log_visualizer/analyzer.cc b/webrtc/tools/event_log_visualizer/analyzer.cc
index 2f8b7ed02f30247b7e252e76a52c94576363f7dd..5c0433a35807a2fb62d4e22b8f671da1d13ccb74 100644
--- a/webrtc/tools/event_log_visualizer/analyzer.cc
+++ b/webrtc/tools/event_log_visualizer/analyzer.cc
@@ -435,22 +435,22 @@ EventLogAnalyzer::EventLogAnalyzer(const ParsedRtcEventLog& log)
case ParsedRtcEventLog::LOG_END: {
break;
}
- case ParsedRtcEventLog::BWE_PACKET_LOSS_EVENT: {
- BwePacketLossEvent bwe_update;
- bwe_update.timestamp = parsed_log_.GetTimestamp(i);
- parsed_log_.GetBwePacketLossEvent(i, &bwe_update.new_bitrate,
- &bwe_update.fraction_loss,
- &bwe_update.expected_packets);
- bwe_loss_updates_.push_back(bwe_update);
+ case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: {
break;
}
- case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: {
+ case ParsedRtcEventLog::LOSS_BASED_BWE_UPDATE: {
+ LossBasedBweUpdate bwe_update;
+ bwe_update.timestamp = parsed_log_.GetTimestamp(i);
+ parsed_log_.GetLossBasedBweUpdate(i, &bwe_update.new_bitrate,
+ &bwe_update.fraction_loss,
+ &bwe_update.expected_packets);
+ bwe_loss_updates_.push_back(bwe_update);
break;
}
- case ParsedRtcEventLog::BWE_PACKET_DELAY_EVENT: {
+ case ParsedRtcEventLog::DELAY_BASED_BWE_UPDATE: {
break;
}
- case ParsedRtcEventLog::AUDIO_PLAYOUT_EVENT: {
+ case ParsedRtcEventLog::AUDIO_NETWORK_ADAPTATION_EVENT: {
break;
}
case ParsedRtcEventLog::UNKNOWN_EVENT: {
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.h ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698