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

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_event_log.h

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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // Logs an incoming or outgoing RTCP packet. 105 // Logs an incoming or outgoing RTCP packet.
106 virtual void LogRtcpPacket(PacketDirection direction, 106 virtual void LogRtcpPacket(PacketDirection direction,
107 MediaType media_type, 107 MediaType media_type,
108 const uint8_t* packet, 108 const uint8_t* packet,
109 size_t length) = 0; 109 size_t length) = 0;
110 110
111 // Logs an audio playout event. 111 // Logs an audio playout event.
112 virtual void LogAudioPlayout(uint32_t ssrc) = 0; 112 virtual void LogAudioPlayout(uint32_t ssrc) = 0;
113 113
114 // Logs a bitrate update from the bandwidth estimator based on packet loss. 114 // Logs a bitrate update from the bandwidth estimator based on packet loss.
115 virtual void LogBwePacketLossEvent(int32_t bitrate, 115 virtual void LogLossBasedBweUpdate(int32_t bitrate_bps,
116 uint8_t fraction_loss, 116 uint8_t fraction_loss,
117 int32_t total_packets) = 0; 117 int32_t total_packets) = 0;
118 118
119 // Logs a bitrate update from the bandwidth estimator based on delay changes. 119 // Logs a bitrate update from the bandwidth estimator based on delay changes.
120 virtual void LogBwePacketDelayEvent(int32_t bitrate, 120 virtual void LogDelayBasedBweUpdate(int32_t bitrate_bps,
121 BandwidthUsage detector_state) = 0; 121 BandwidthUsage detector_state) = 0;
122 122
123 // Logs audio encoder re-configuration driven by audio network adaptor. 123 // Logs audio encoder re-configuration driven by audio network adaptor.
124 virtual void LogAudioNetworkAdaptation( 124 virtual void LogAudioNetworkAdaptation(
125 const AudioNetworkAdaptor::EncoderRuntimeConfig& config) = 0; 125 const AudioNetworkAdaptor::EncoderRuntimeConfig& config) = 0;
126 126
127 // Reads an RtcEventLog file and returns true when reading was successful. 127 // Reads an RtcEventLog file and returns true when reading was successful.
128 // The result is stored in the given EventStream object. 128 // The result is stored in the given EventStream object.
129 // The order of the events in the EventStream is implementation defined. 129 // The order of the events in the EventStream is implementation defined.
130 // The current implementation writes a LOG_START event, then the old 130 // The current implementation writes a LOG_START event, then the old
(...skipping 24 matching lines...) Expand all
155 const AudioSendStream::Config& config) override {} 155 const AudioSendStream::Config& config) override {}
156 void LogRtpHeader(PacketDirection direction, 156 void LogRtpHeader(PacketDirection direction,
157 MediaType media_type, 157 MediaType media_type,
158 const uint8_t* header, 158 const uint8_t* header,
159 size_t packet_length) override {} 159 size_t packet_length) override {}
160 void LogRtcpPacket(PacketDirection direction, 160 void LogRtcpPacket(PacketDirection direction,
161 MediaType media_type, 161 MediaType media_type,
162 const uint8_t* packet, 162 const uint8_t* packet,
163 size_t length) override {} 163 size_t length) override {}
164 void LogAudioPlayout(uint32_t ssrc) override {} 164 void LogAudioPlayout(uint32_t ssrc) override {}
165 void LogBwePacketLossEvent(int32_t bitrate, 165 void LogLossBasedBweUpdate(int32_t bitrate_bps,
166 uint8_t fraction_loss, 166 uint8_t fraction_loss,
167 int32_t total_packets) override {} 167 int32_t total_packets) override {}
168 void LogBwePacketDelayEvent(int32_t bitrate, 168 void LogDelayBasedBweUpdate(int32_t bitrate_bps,
169 BandwidthUsage detector_state) override {} 169 BandwidthUsage detector_state) override {}
170 void LogAudioNetworkAdaptation( 170 void LogAudioNetworkAdaptation(
171 const AudioNetworkAdaptor::EncoderRuntimeConfig& config) override {} 171 const AudioNetworkAdaptor::EncoderRuntimeConfig& config) override {}
172 }; 172 };
173 173
174 } // namespace webrtc 174 } // namespace webrtc
175 175
176 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ 176 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_
OLDNEW
« no previous file with comments | « webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698