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

Issue 1440603002: Add receive bitrate UMA stats. (Closed)

Created:
5 years, 1 month ago by stefan-webrtc
Modified:
5 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add receive bitrate UMA stats. Committed: https://crrev.com/91d926038f7cebf889ef843f2f087d72bc8c60c2 Cr-Commit-Position: refs/heads/master@{#10605}

Patch Set 1 #

Patch Set 2 : add test and only report non-zero values #

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : Addressed comments. #

Patch Set 5 : Can't verify the audio stats in this test. Postponing audio stats tests. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -5 lines) Patch
M webrtc/call/call.cc View 1 2 3 9 chunks +59 lines, -5 lines 4 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
stefan-webrtc
5 years, 1 month ago (2015-11-11 13:53:47 UTC) #2
stefan-webrtc
add test and only report non-zero values
5 years, 1 month ago (2015-11-11 14:24:38 UTC) #3
stefan-webrtc
5 years, 1 month ago (2015-11-11 14:45:42 UTC) #5
pbos-webrtc
https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc#newcode143 webrtc/call/call.cc:143: size_t received_video_bytes_; Can you put notes on how these ...
5 years, 1 month ago (2015-11-11 14:56:58 UTC) #6
åsapersson
https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc#newcode229 webrtc/call/call.cc:229: if (elapsed_sec > metrics::kMinRunTimeInSeconds) { maybe early return https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc#newcode645 ...
5 years, 1 month ago (2015-11-11 15:35:25 UTC) #7
stefan-webrtc
Switched to using RateTracker per Åsa's request. https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc#newcode143 webrtc/call/call.cc:143: size_t received_video_bytes_; ...
5 years, 1 month ago (2015-11-11 15:49:25 UTC) #8
stefan-webrtc
https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1440603002/diff/40001/webrtc/call/call.cc#newcode229 webrtc/call/call.cc:229: if (elapsed_sec > metrics::kMinRunTimeInSeconds) { On 2015/11/11 15:35:24, åsapersson ...
5 years, 1 month ago (2015-11-11 15:59:04 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440603002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440603002/80001
5 years, 1 month ago (2015-11-11 16:03:37 UTC) #11
åsapersson
lgtm
5 years, 1 month ago (2015-11-11 16:13:56 UTC) #12
pbos-webrtc
lgtm https://codereview.webrtc.org/1440603002/diff/80001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1440603002/diff/80001/webrtc/call/call.cc#newcode149 webrtc/call/call.cc:149: int64_t first_rtp_packet_received_ms_; (I assume the corner case where ...
5 years, 1 month ago (2015-11-11 16:24:29 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-11 17:55:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440603002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440603002/80001
5 years, 1 month ago (2015-11-11 18:11:47 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-11 18:13:05 UTC) #18
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/91d926038f7cebf889ef843f2f087d72bc8c60c2 Cr-Commit-Position: refs/heads/master@{#10605}
5 years, 1 month ago (2015-11-11 18:13:17 UTC) #19
stefan-webrtc
5 years, 1 month ago (2015-11-11 18:15:22 UTC) #20
Message was sent while issue was closed.
https://codereview.webrtc.org/1440603002/diff/80001/webrtc/call/call.cc
File webrtc/call/call.cc (right):

https://codereview.webrtc.org/1440603002/diff/80001/webrtc/call/call.cc#newco...
webrtc/call/call.cc:149: int64_t first_rtp_packet_received_ms_;
On 2015/11/11 16:24:29, pbos-webrtc wrote:
> (I assume the corner case where RTCP arrives first isn't very interesting.)

Its a very slim corner case. If rtcp arrives first, and the stream is 20 secs
from that rtcp, we will not record the stats, since we measure from first rtp...

https://codereview.webrtc.org/1440603002/diff/80001/webrtc/call/call.cc#newco...
webrtc/call/call.cc:641: return DELIVERY_UNKNOWN_SSRC;
On 2015/11/11 16:24:29, pbos-webrtc wrote:
> Do you wanna track unknown bitrate as well?

We can add that later if we see a need.

Powered by Google App Engine
This is Rietveld 408576698