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

Issue 2593503003: RTCStatsReport::AddStats DCHECKs that the ID is unique. (Closed)

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

Description

RTCStatsReport::AddStats DCHECKs that the ID is unique. Previously it was allowed to call AddStats with stats of the same ID multiple times. This revealed a few things: - Local and remote streams can have the same label. RTCMediaStreamStats's ID is updated to include "local"/"remote". - The same certificate can show up multiple times (e.g. for local and remote in a loopback), so we skip creating RTCCertificateStats for the same certificate multiple times BUG=chromium:627816 Review-Url: https://codereview.webrtc.org/2593503003 Cr-Commit-Position: refs/heads/master@{#15730} Committed: https://chromium.googlesource.com/external/webrtc/+/02d2a92d92d05c3014d779efd5c03e0822b7dbe7

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -11 lines) Patch
M webrtc/api/rtcstatscollector.cc View 2 chunks +13 lines, -3 lines 0 comments Download
M webrtc/api/rtcstatscollector_unittest.cc View 6 chunks +6 lines, -4 lines 0 comments Download
M webrtc/api/stats/rtcstatsreport.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/stats/rtcstatsreport.cc View 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (10 generated)
hbos
Please take a look, hta and deadbeef.
4 years ago (2016-12-20 15:52:50 UTC) #6
Taylor Brandstetter
lgtm
4 years ago (2016-12-20 19:04:16 UTC) #9
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/2593503003/20001
4 years ago (2016-12-21 09:27:32 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-21 09:29:08 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/02d2a92d92d05c3014d779efd...

Powered by Google App Engine
This is Rietveld 408576698