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

Issue 2611983002: TrackMediaInfoMap added. (Closed)

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

Description

TrackMediaInfoMap added. This maps, in both directions, [Audio/Video]TrackInterface with [Voice/Video][Sender/Receiver]Info. This mapping is necessary for RTCStatsCollector to know the relationship between RTCMediaStreamTrackStats and RTC[In/Out]boundRTPStreamStats, and to be able to collect several RTCMediaStreamTrackStats stats. BUG=webrtc:6757, chromium:659137, chromium:657854, chromium:627816 Review-Url: https://codereview.webrtc.org/2611983002 Cr-Commit-Position: refs/heads/master@{#16090} Committed: https://chromium.googlesource.com/external/webrtc/+/1f8239ca6f887ecb8c2c8347c00b5ac681e83c60

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressed comments #

Total comments: 15

Patch Set 3 : Addressed comments (added comments) #

Total comments: 13

Patch Set 4 : Addressed comments, improved unittests #

Total comments: 18

Patch Set 5 : Addressed comments, less template, renames, refactoring, cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+755 lines, -0 lines) Patch
M webrtc/api/BUILD.gn View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
A webrtc/api/test/mock_rtpreceiver.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A webrtc/api/test/mock_rtpsender.h View 1 1 chunk +36 lines, -0 lines 0 comments Download
A webrtc/api/trackmediainfomap.h View 1 2 3 4 1 chunk +98 lines, -0 lines 0 comments Download
A webrtc/api/trackmediainfomap.cc View 1 2 3 4 1 chunk +201 lines, -0 lines 0 comments Download
A webrtc/api/trackmediainfomap_unittest.cc View 1 2 3 4 1 chunk +381 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (31 generated)
hbos
Please take a look, hta, deadbeef and pthatcher.
3 years, 11 months ago (2017-01-04 12:40:06 UTC) #8
Taylor Brandstetter
I didn't finish reviewing this CL; before going further we should decide what RTCMediaStreamTrackStats are ...
3 years, 11 months ago (2017-01-05 00:35:42 UTC) #11
hta-webrtc
It's hard to evaluate the API without some use cases, but I've made some commentary. ...
3 years, 11 months ago (2017-01-05 09:46:56 UTC) #12
hbos
Addressed comments. Please take a look if we decide to to RTCMediaStreamTrackStats (or equivalent) on ...
3 years, 11 months ago (2017-01-05 15:27:56 UTC) #13
Taylor Brandstetter
https://codereview.webrtc.org/2611983002/diff/80001/webrtc/api/trackmediainfomap.cc File webrtc/api/trackmediainfomap.cc (right): https://codereview.webrtc.org/2611983002/diff/80001/webrtc/api/trackmediainfomap.cc#newcode53 webrtc/api/trackmediainfomap.cc:53: RtpParameters params = rtp_sender->GetParameters(); Something I wanted to point ...
3 years, 11 months ago (2017-01-10 17:29:24 UTC) #18
hta-webrtc
Seems good. Some questions about making code simpler, and one question that Taylor will probably ...
3 years, 11 months ago (2017-01-11 12:34:24 UTC) #19
hbos
PTAL hta and deadbeef. Regardless of the outcome of https://github.com/w3c/webrtc-stats/issues/130, this is used for RTC[In/Out]boundRTPStreamStats.mediaTrackId ...
3 years, 11 months ago (2017-01-11 15:55:33 UTC) #25
Taylor Brandstetter
I still have the same question about whether we're gathering stats "per-track" or "per-track-attachement". But ...
3 years, 11 months ago (2017-01-11 22:12:05 UTC) #26
hbos
PTAL hta, deadbeef. https://codereview.webrtc.org/2611983002/diff/120001/webrtc/api/trackmediainfomap.cc File webrtc/api/trackmediainfomap.cc (right): https://codereview.webrtc.org/2611983002/diff/120001/webrtc/api/trackmediainfomap.cc#newcode57 webrtc/api/trackmediainfomap.cc:57: RtpParameters params = rtp_sender->GetParameters(); On 2017/01/11 ...
3 years, 11 months ago (2017-01-12 11:03:14 UTC) #29
Taylor Brandstetter
lgtm, though it looks like there's a small typo in the test https://codereview.webrtc.org/2611983002/diff/140001/webrtc/api/trackmediainfomap_unittest.cc File webrtc/api/trackmediainfomap_unittest.cc ...
3 years, 11 months ago (2017-01-12 23:23:47 UTC) #32
pthatcher1
Sorry for the late entrance. On most of these, you can push back if you ...
3 years, 11 months ago (2017-01-13 00:10:30 UTC) #33
hbos
PTAL hta, pthatcher https://codereview.webrtc.org/2611983002/diff/140001/webrtc/api/trackmediainfomap.cc File webrtc/api/trackmediainfomap.cc (right): https://codereview.webrtc.org/2611983002/diff/140001/webrtc/api/trackmediainfomap.cc#newcode50 webrtc/api/trackmediainfomap.cc:50: ssrc_to_track[rtp_sender->ssrc()] = CheckedTrackCast<T>( On 2017/01/13 00:10:29, ...
3 years, 11 months ago (2017-01-13 13:58:24 UTC) #37
pthatcher1
lgtm LGTM Very nice
3 years, 11 months ago (2017-01-13 21:02:34 UTC) #40
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/2611983002/180001
3 years, 11 months ago (2017-01-16 11:21:21 UTC) #43
commit-bot: I haz the power
3 years, 11 months ago (2017-01-16 12:24:17 UTC) #46
Message was sent while issue was closed.
Committed patchset #5 (id:180001) as
https://chromium.googlesource.com/external/webrtc/+/1f8239ca6f887ecb8c2c8347c...

Powered by Google App Engine
This is Rietveld 408576698