DescriptionUpdate AvgCounter to have the ability to include last period metric for subsequent intervals without samples (e.g. for non-periodic updated stats).
Integrate AvgCounter to be used for BWE stats in call.
Fixes for stats regression in:
WebRTC.Call.EstimatedSendBitrateInKbps
WebRTC.Call.PacerBitrateInKbps
Example:
BWE for a 15 seconds long call (with intervals of 1 sec):
|300|400|500|600|600|600|600| 0 | 0 | 0 | 0 | 0 |800|800|800| // 0 - network state down
Reported via OnNetworkChanged:
|300|400|500|600| x | x | x | 0 | x | x | x | x |800| x | x | // x - empty interval, 0 -> pauses stats
Stats:
|300|400|500|600|600|600|600| - | - | - | - | - |800|800|800| // x -> last value used (intervals during pause ignored)
AvgCounter uses the average of samples within an interval (interval length is 2 sec).
BUG=webrtc:6244
Committed: https://crrev.com/ce2e13602e06c5f7df7245f8d0e66e7070c0be34
Cr-Commit-Position: refs/heads/master@{#14147}
Patch Set 1 #Patch Set 2 #
Total comments: 4
Patch Set 3 : rebase #Patch Set 4 : address comments #
Total comments: 3
Messages
Total messages: 19 (11 generated)
|