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

Issue 2456463002: RTCOutboundRTPStreamStats added. (Closed)

Created:
4 years, 1 month ago by hbos
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

RTCOutboundRTPStreamStats[1] added. This also adds RTCRTPStreamStats[2] which it derives from. Not all stats are supported in this CL, this must be addressed before closing the issue. RTCStatsReport also gets a timestamp and ToString. [1] https://w3c.github.io/webrtc-stats/#outboundrtpstats-dict* [2] https://w3c.github.io/webrtc-stats/#streamstats-dict* BUG=chromium:627816, chromium:657856, chromium:657854 Committed: https://crrev.com/69e9cb08285f6cbcab547c7a5e6aa668fa6f2d29 Cr-Commit-Position: refs/heads/master@{#14860}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressed comments #

Patch Set 3 : Rebase and TODO for target_bitrate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+472 lines, -20 lines) Patch
M webrtc/api/rtcstatscollector.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/api/rtcstatscollector.cc View 1 2 9 chunks +136 lines, -4 lines 0 comments Download
M webrtc/api/rtcstatscollector_unittest.cc View 10 chunks +143 lines, -4 lines 0 comments Download
M webrtc/api/stats/rtcstats.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/api/stats/rtcstats_objects.h View 1 2 2 chunks +57 lines, -1 line 0 comments Download
M webrtc/api/stats/rtcstatsreport.h View 3 chunks +9 lines, -2 lines 0 comments Download
M webrtc/stats/rtcstats.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/stats/rtcstats_objects.cc View 1 chunk +86 lines, -0 lines 0 comments Download
M webrtc/stats/rtcstatsreport.cc View 4 chunks +23 lines, -3 lines 0 comments Download
M webrtc/stats/rtcstatsreport_unittest.cc View 1 3 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
hbos
Please take a look, hta and deadbeef. https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc File webrtc/api/rtcstatscollector.cc (right): https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc#newcode115 webrtc/api/rtcstatscollector.cc:115: // video ...
4 years, 1 month ago (2016-10-26 10:26:11 UTC) #6
hta-webrtc
lgtm https://codereview.webrtc.org/2456463002/diff/20001/webrtc/stats/rtcstatsreport_unittest.cc File webrtc/stats/rtcstatsreport_unittest.cc (right): https://codereview.webrtc.org/2456463002/diff/20001/webrtc/stats/rtcstatsreport_unittest.cc#newcode63 webrtc/stats/rtcstatsreport_unittest.cc:63: EXPECT_EQ(report->timestamp_us(), 1337u); Style nit: Since you're using 1337 ...
4 years, 1 month ago (2016-10-27 12:34:51 UTC) #7
Taylor Brandstetter
https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc File webrtc/api/rtcstatscollector.cc (right): https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc#newcode115 webrtc/api/rtcstatscollector.cc:115: // video and are purposefully left undefined for audio. ...
4 years, 1 month ago (2016-10-27 21:44:37 UTC) #8
hbos
PTAL deadbeef. https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc File webrtc/api/rtcstatscollector.cc (right): https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc#newcode115 webrtc/api/rtcstatscollector.cc:115: // video and are purposefully left undefined ...
4 years, 1 month ago (2016-10-28 09:42:37 UTC) #10
hbos
By the way the EXPECT_EQ of a hardcoded report was a good idea for how ...
4 years, 1 month ago (2016-10-28 10:20:13 UTC) #11
Taylor Brandstetter
Sorry, it looks like I mixed up "target_enc_bitrate" with "target_media_bitrate_bps". https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc File webrtc/api/rtcstatscollector.cc (right): https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc#newcode131 ...
4 years, 1 month ago (2016-10-28 17:31:34 UTC) #12
hbos
PTAL deadbeef https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc File webrtc/api/rtcstatscollector.cc (right): https://codereview.webrtc.org/2456463002/diff/20001/webrtc/api/rtcstatscollector.cc#newcode131 webrtc/api/rtcstatscollector.cc:131: static_cast<double>(video_sender_info.preferred_bitrate); On 2016/10/28 17:31:34, Taylor Brandstetter wrote: ...
4 years, 1 month ago (2016-10-31 09:21:01 UTC) #13
Taylor Brandstetter
lgtm
4 years, 1 month ago (2016-10-31 18:18:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2456463002/80001
4 years, 1 month ago (2016-10-31 21:22:23 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 1 month ago (2016-10-31 21:48:31 UTC) #19
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/69e9cb08285f6cbcab547c7a5e6aa668fa6f2d29 Cr-Commit-Position: refs/heads/master@{#14860}
4 years, 1 month ago (2016-10-31 21:48:48 UTC) #21
perkj_webrtc
A revert of this CL (patchset #3 id:80001) has been created in https://codereview.webrtc.org/2465193002/ by perkj@webrtc.org. ...
4 years, 1 month ago (2016-11-01 06:20:36 UTC) #22
perkj_webrtc
4 years, 1 month ago (2016-11-01 06:52:15 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:80001) has been created in
https://codereview.webrtc.org/2465223002/ by perkj@webrtc.org.

The reason for reverting is: Breaks Chrome FYI. 
peerconnection_unittest calls RTCStatsReport::Create without  parameters..

Powered by Google App Engine
This is Rietveld 408576698