Add UMA metrics for the initial (after two seconds) packet loss, round-trip time and bandwidth estimate of a WebRTC call.
BUG=crbug/425925 R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/31899004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7593 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -43,6 +43,8 @@ class SendSideBandwidthEstimation {
|
||||
void SetMinBitrate(uint32_t min_bitrate);
|
||||
|
||||
private:
|
||||
bool IsInStartPhase(int64_t now_ms) const;
|
||||
|
||||
// Returns the input bitrate capped to the thresholds defined by the max,
|
||||
// min and incoming bandwidth.
|
||||
uint32_t CapBitrateToThresholds(uint32_t bitrate);
|
||||
@ -69,6 +71,8 @@ class SendSideBandwidthEstimation {
|
||||
uint32_t bwe_incoming_;
|
||||
uint32_t time_last_decrease_ms_;
|
||||
int64_t first_report_time_ms_;
|
||||
int initially_lost_packets_;
|
||||
bool uma_updated_;
|
||||
};
|
||||
} // namespace webrtc
|
||||
#endif // WEBRTC_MODULES_BITRATE_CONTROLLER_SEND_SIDE_BANDWIDTH_ESTIMATION_H_
|
||||
|
||||
Reference in New Issue
Block a user