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

Issue 2484193002: Expose RtpCodecParameters to VideoMediaInfo stats. (Closed)

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

Description

Expose RtpCodecParameters to VideoMediaInfo stats. Payload type -> RtpCodecParameters maps added for sender and receiver side. It contains information that will be needed for RTCCodecStats[1] dictionaries. Video[Sender/Receiver]Info is updated with current codec payload type for every stream which can be used to look up the codec in VideoMediaInfo. A similar change should be made for VoiceMediaInfo and Voice[Sender/Receiver]Info. [1] https://w3c.github.io/webrtc-stats/#codec-dict* BUG=chromium:659117 Committed: https://crrev.com/a65704b5c905c97970f28eb3d1df7369a700efdf Cr-Commit-Position: refs/heads/master@{#15060}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Total comments: 7

Patch Set 3 : Addressed magjed's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -1 line) Patch
M webrtc/media/base/mediachannel.h View 4 chunks +15 lines, -0 lines 0 comments Download
M webrtc/media/base/videoengine_unittest.h View 1 2 3 chunks +12 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 4 chunks +23 lines, -1 line 0 comments Download

Messages

Total messages: 29 (15 generated)
hbos
Please take a look deadbeef and hta. I though I'd update these layers separately before ...
4 years, 1 month ago (2016-11-08 12:01:37 UTC) #2
hbos
And please take a look magjed.
4 years, 1 month ago (2016-11-08 12:51:45 UTC) #4
Taylor Brandstetter
On 2016/11/08 12:01:37, hbos wrote: > Please take a look deadbeef and hta. > > ...
4 years, 1 month ago (2016-11-08 23:55:28 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/2484193002/diff/1/webrtc/media/base/videoengine_unittest.h File webrtc/media/base/videoengine_unittest.h (right): https://codereview.webrtc.org/2484193002/diff/1/webrtc/media/base/videoengine_unittest.h#newcode427 webrtc/media/base/videoengine_unittest.h:427: EXPECT_EQ(DefaultCodec().id, *info.senders[0].codec_payload_type); nit: This will crash if codec_payload_type if ...
4 years, 1 month ago (2016-11-08 23:55:44 UTC) #6
hbos
PTAL deadbeef, magjed. On 2016/11/08 23:55:28, Taylor Brandstetter wrote: > RtpCodecParameters will eventually have "parameters" ...
4 years, 1 month ago (2016-11-11 11:20:05 UTC) #11
hta-webrtc
lgtm fwiw, the 90000 frequency is the least common denominator (?) for 15, 29.97, 30, ...
4 years, 1 month ago (2016-11-11 12:45:20 UTC) #14
Taylor Brandstetter
lgtm. And thanks for the nice bit of trivia about the clock rate, Harald. :)
4 years, 1 month ago (2016-11-11 22:53:26 UTC) #15
hbos
PTAL magjed
4 years, 1 month ago (2016-11-13 20:18:12 UTC) #16
magjed_webrtc
https://codereview.webrtc.org/2484193002/diff/60001/webrtc/media/base/videoengine_unittest.h File webrtc/media/base/videoengine_unittest.h (right): https://codereview.webrtc.org/2484193002/diff/60001/webrtc/media/base/videoengine_unittest.h#newcode436 webrtc/media/base/videoengine_unittest.h:436: EXPECT_NE(info.send_codecs.end(), info.send_codecs.find(DefaultCodec().id)); nit: I would prefer this: EXPECT_EQ(0, info.send_codecs.count(DefaultCodec().id)); ...
4 years, 1 month ago (2016-11-14 08:58:13 UTC) #17
hbos
PTAL jäddan https://codereview.webrtc.org/2484193002/diff/60001/webrtc/media/base/videoengine_unittest.h File webrtc/media/base/videoengine_unittest.h (right): https://codereview.webrtc.org/2484193002/diff/60001/webrtc/media/base/videoengine_unittest.h#newcode436 webrtc/media/base/videoengine_unittest.h:436: EXPECT_NE(info.send_codecs.end(), info.send_codecs.find(DefaultCodec().id)); On 2016/11/14 08:58:13, magjed_webrtc wrote: ...
4 years, 1 month ago (2016-11-14 09:16:02 UTC) #18
magjed_webrtc
lgtm
4 years, 1 month ago (2016-11-14 10:09:58 UTC) #23
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/2484193002/80001
4 years, 1 month ago (2016-11-14 10:22:38 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 1 month ago (2016-11-14 10:28:19 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-11-14 10:28:29 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a65704b5c905c97970f28eb3d1df7369a700efdf
Cr-Commit-Position: refs/heads/master@{#15060}

Powered by Google App Engine
This is Rietveld 408576698