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

Issue 2319543002: WebRTCStats added for surfacing RTCStats from WebRTC to Blink. (Closed)

Created:
4 years, 3 months ago by hbos_chromium
Modified:
4 years, 3 months ago
Reviewers:
perkj_chrome, esprehn
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, feature-media-reviews_chromium.org, jam, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebRTCStats added for surfacing RTCStats from WebRTC to Blink. webrtc::RTCStats lives in the WebRTC repo and can't be directly accessed from Blink. In content we implement blink::WebRTCStats and friends to bridge this gap. Work split up in smaller CLs. In a follow-up CL we will gather stats in content's rtc_peer_connection_handler.cc using webrtc::RTCStatsCollector and return the resulting stats to Blink using [Web]RTCStats, this will include unittests. BUG=chromium:627816 Committed: https://crrev.com/24cc79a3796ac4d1c8a7a302d6bf9a1a4203bd84 Cr-Commit-Position: refs/heads/master@{#417553}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed comments #

Total comments: 6

Patch Set 3 : Addressed comments, added WebRTCStatsReport #

Total comments: 6

Patch Set 4 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -0 lines) Patch
M content/renderer/BUILD.gn View 1 2 chunks +3 lines, -0 lines 0 comments Download
A content/renderer/media/webrtc/rtc_stats.h View 1 2 3 1 chunk +82 lines, -0 lines 0 comments Download
A content/renderer/media/webrtc/rtc_stats.cc View 1 2 1 chunk +207 lines, -0 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/public/platform/WebRTCStats.h View 1 2 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (26 generated)
hbos_chromium
Please take a look, esprehn and perkj.
4 years, 3 months ago (2016-09-07 12:32:41 UTC) #14
perkj_chrome
https://codereview.chromium.org/2319543002/diff/60001/content/renderer/BUILD.gn File content/renderer/BUILD.gn (right): https://codereview.chromium.org/2319543002/diff/60001/content/renderer/BUILD.gn#newcode592 content/renderer/BUILD.gn:592: "media/rtc_stats.cc", these files depend on webrtc third_party? Then please ...
4 years, 3 months ago (2016-09-07 14:34:36 UTC) #17
hbos_chromium
Please take (another) look perkj, esprehn https://codereview.chromium.org/2319543002/diff/60001/content/renderer/BUILD.gn File content/renderer/BUILD.gn (right): https://codereview.chromium.org/2319543002/diff/60001/content/renderer/BUILD.gn#newcode592 content/renderer/BUILD.gn:592: "media/rtc_stats.cc", On 2016/09/07 ...
4 years, 3 months ago (2016-09-08 08:38:31 UTC) #19
esprehn
What's the plan for moving the content/renderer/media code into blink? This patch is expanding the ...
4 years, 3 months ago (2016-09-08 09:19:48 UTC) #20
hbos_chromium
Hang on, I want to add a WebRTCStatsReport in this same CL instead of in ...
4 years, 3 months ago (2016-09-08 09:27:41 UTC) #21
hbos_chromium
On 2016/09/08 09:19:48, esprehn wrote: > What's the plan for moving the content/renderer/media code into ...
4 years, 3 months ago (2016-09-08 12:17:09 UTC) #26
hbos_chromium
On 2016/09/08 12:17:09, hbos_chromium wrote: > On 2016/09/08 09:19:48, esprehn wrote: > > What's the ...
4 years, 3 months ago (2016-09-08 12:17:45 UTC) #27
esprehn
This lgtm, but media team does need to come up with a plan to move ...
4 years, 3 months ago (2016-09-08 22:41:39 UTC) #30
hbos_chromium
PTAL perkj https://codereview.chromium.org/2319543002/diff/100001/third_party/WebKit/public/platform/WebRTCStats.h File third_party/WebKit/public/platform/WebRTCStats.h (right): https://codereview.chromium.org/2319543002/diff/100001/third_party/WebKit/public/platform/WebRTCStats.h#newcode47 third_party/WebKit/public/platform/WebRTCStats.h:47: // |WebRTCStatsMember| created by a |WebRTCStats| object ...
4 years, 3 months ago (2016-09-09 06:35:33 UTC) #31
perkj_chrome
lgtm if the comments are fixed. https://codereview.chromium.org/2319543002/diff/140001/content/renderer/media/webrtc/rtc_stats.h File content/renderer/media/webrtc/rtc_stats.h (right): https://codereview.chromium.org/2319543002/diff/140001/content/renderer/media/webrtc/rtc_stats.h#newcode43 content/renderer/media/webrtc/rtc_stats.h:43: // Referencing the ...
4 years, 3 months ago (2016-09-09 07:10:40 UTC) #32
hbos_chromium
https://codereview.chromium.org/2319543002/diff/140001/content/renderer/media/webrtc/rtc_stats.h File content/renderer/media/webrtc/rtc_stats.h (right): https://codereview.chromium.org/2319543002/diff/140001/content/renderer/media/webrtc/rtc_stats.h#newcode43 content/renderer/media/webrtc/rtc_stats.h:43: // Referencing the owning report protects |stats_| from destruction. ...
4 years, 3 months ago (2016-09-09 08:47:33 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2319543002/160001
4 years, 3 months ago (2016-09-09 08:47:55 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:160001)
4 years, 3 months ago (2016-09-09 10:43:16 UTC) #38
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 10:46:31 UTC) #40
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/24cc79a3796ac4d1c8a7a302d6bf9a1a4203bd84
Cr-Commit-Position: refs/heads/master@{#417553}

Powered by Google App Engine
This is Rietveld 408576698