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

Issue 1885473004: Adding codecs to the RtpParameters returned by an RtpSender. (Closed)

Created:
4 years, 8 months ago by Taylor Brandstetter
Modified:
4 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adding codecs to the RtpParameters returned by an RtpSender. Contains every field except for sdpFmtpLine. Setting a reordered list of codecs is not yet supported. R=glaznev@webrtc.org, pthatcher@webrtc.org, skvlad@webrtc.org, tkchin@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/0cd086b70ec939cad25768d5e17a61da23613281

Patch Set 1 #

Patch Set 2 : Adding missing include #

Patch Set 3 : Updating build files. #

Total comments: 7

Patch Set 4 : Fixing bug where codecs are added multiple times, and adding unit test. #

Patch Set 5 : Responding to skvlad@ feedback. #

Total comments: 4

Patch Set 6 : Fixing minor issues #

Total comments: 18

Patch Set 7 : Objective-C stylistic changes. #

Patch Set 8 : Adding mime type constants. #

Total comments: 13

Patch Set 9 : Responding to review comments. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+364 lines, -13 lines) Patch
M webrtc/api/BUILD.gn View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/api/api.gyp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/api/java/jni/peerconnection_jni.cc View 1 2 3 4 5 6 7 8 4 chunks +63 lines, -4 lines 3 comments Download
M webrtc/api/java/src/org/webrtc/RtpParameters.java View 1 chunk +9 lines, -0 lines 0 comments Download
A webrtc/api/objc/RTCRtpCodecParameters.h View 1 2 3 4 5 6 7 8 1 chunk +55 lines, -0 lines 0 comments Download
A webrtc/api/objc/RTCRtpCodecParameters.mm View 1 2 3 4 5 6 7 8 1 chunk +63 lines, -0 lines 0 comments Download
A + webrtc/api/objc/RTCRtpCodecParameters+Private.h View 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/api/objc/RTCRtpParameters.h View 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/api/objc/RTCRtpParameters.mm View 1 2 3 4 5 6 3 chunks +13 lines, -0 lines 0 comments Download
M webrtc/api/rtpparameters.h View 1 2 3 2 chunks +23 lines, -0 lines 0 comments Download
M webrtc/media/base/codec.h View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M webrtc/media/base/codec.cc View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 4 chunks +12 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 4 chunks +14 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
Taylor Brandstetter
https://codereview.webrtc.org/1885473004/diff/40001/webrtc/media/engine/webrtcvideoengine2.h File webrtc/media/engine/webrtcvideoengine2.h (right): https://codereview.webrtc.org/1885473004/diff/40001/webrtc/media/engine/webrtcvideoengine2.h#newcode383 webrtc/media/engine/webrtcvideoengine2.h:383: // Does *not* contain codecs, however. As RtpParameters grows ...
4 years, 8 months ago (2016-04-14 00:37:36 UTC) #2
skvlad
LGTM overall, but I'm not an owner of any of these files. https://codereview.webrtc.org/1885473004/diff/40001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h ...
4 years, 8 months ago (2016-04-14 01:03:56 UTC) #3
Taylor Brandstetter
I realize you're not an owner, but thought you may have some opinions since you've ...
4 years, 8 months ago (2016-04-14 01:43:45 UTC) #4
Taylor Brandstetter
Zeke, can you review webrtc/api/objc/*? Alex, can you review webrtc/api/java/*? Thanks!
4 years, 8 months ago (2016-04-14 01:45:22 UTC) #6
pthatcher1
lgtm https://codereview.webrtc.org/1885473004/diff/80001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/80001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode29 webrtc/api/objc/RTCRtpCodecParameters.h:29: /** The number of channels (mono=1, stereo=2). */ ...
4 years, 8 months ago (2016-04-14 15:58:13 UTC) #7
Taylor Brandstetter
https://codereview.webrtc.org/1885473004/diff/80001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/80001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode29 webrtc/api/objc/RTCRtpCodecParameters.h:29: /** The number of channels (mono=1, stereo=2). */ On ...
4 years, 8 months ago (2016-04-14 16:30:54 UTC) #8
tkchin_webrtc
https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode18 webrtc/api/objc/RTCRtpCodecParameters.h:18: @property(nonatomic, assign) int payloadType; ditto enum? https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode24 webrtc/api/objc/RTCRtpCodecParameters.h:24: @property(nonatomic, ...
4 years, 8 months ago (2016-04-14 17:52:51 UTC) #9
Taylor Brandstetter
https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode18 webrtc/api/objc/RTCRtpCodecParameters.h:18: @property(nonatomic, assign) int payloadType; On 2016/04/14 17:52:51, tkchin_webrtc wrote: ...
4 years, 8 months ago (2016-04-14 18:17:22 UTC) #10
pthatcher1
https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode18 webrtc/api/objc/RTCRtpCodecParameters.h:18: @property(nonatomic, assign) int payloadType; On 2016/04/14 18:17:22, Taylor Brandstetter ...
4 years, 8 months ago (2016-04-14 18:27:15 UTC) #11
tkchin_webrtc
https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode18 webrtc/api/objc/RTCRtpCodecParameters.h:18: @property(nonatomic, assign) int payloadType; On 2016/04/14 18:27:15, pthatcher1 wrote: ...
4 years, 8 months ago (2016-04-14 18:30:09 UTC) #12
Taylor Brandstetter
https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode18 webrtc/api/objc/RTCRtpCodecParameters.h:18: @property(nonatomic, assign) int payloadType; On 2016/04/14 18:30:08, tkchin_webrtc wrote: ...
4 years, 8 months ago (2016-04-14 20:01:48 UTC) #13
tkchin_webrtc
lgtm for objc % nits https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode18 webrtc/api/objc/RTCRtpCodecParameters.h:18: @property(nonatomic, assign) int payloadType; ...
4 years, 8 months ago (2016-04-14 21:11:47 UTC) #14
AlexG
https://codereview.webrtc.org/1885473004/diff/140001/webrtc/api/java/jni/peerconnection_jni.cc File webrtc/api/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1885473004/diff/140001/webrtc/api/java/jni/peerconnection_jni.cc#newcode2149 webrtc/api/java/jni/peerconnection_jni.cc:2149: RTC_DCHECK(added); RTC_CHECK()? Failing to add to linked list is ...
4 years, 8 months ago (2016-04-14 21:21:32 UTC) #15
AlexG
https://codereview.webrtc.org/1885473004/diff/140001/webrtc/api/java/jni/peerconnection_jni.cc File webrtc/api/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1885473004/diff/140001/webrtc/api/java/jni/peerconnection_jni.cc#newcode2175 webrtc/api/java/jni/peerconnection_jni.cc:2175: jboolean added = jni->CallBooleanMethod(j_codecs, add, j_codec); On 2016/04/14 21:21:32, ...
4 years, 8 months ago (2016-04-14 21:25:54 UTC) #16
Taylor Brandstetter
https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h File webrtc/api/objc/RTCRtpCodecParameters.h (right): https://codereview.webrtc.org/1885473004/diff/100001/webrtc/api/objc/RTCRtpCodecParameters.h#newcode18 webrtc/api/objc/RTCRtpCodecParameters.h:18: @property(nonatomic, assign) int payloadType; On 2016/04/14 21:11:47, tkchin_webrtc wrote: ...
4 years, 8 months ago (2016-04-14 22:03:31 UTC) #17
AlexG
lgtm https://codereview.webrtc.org/1885473004/diff/160001/webrtc/api/java/jni/peerconnection_jni.cc File webrtc/api/java/jni/peerconnection_jni.cc (right): https://codereview.webrtc.org/1885473004/diff/160001/webrtc/api/java/jni/peerconnection_jni.cc#newcode2146 webrtc/api/java/jni/peerconnection_jni.cc:2146: jboolean added = jni->CallBooleanMethod(j_encodings, encodings_add, alignment : 4 ...
4 years, 8 months ago (2016-04-14 22:07:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885473004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885473004/160001
4 years, 8 months ago (2016-04-20 22:53:16 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/4971)
4 years, 8 months ago (2016-04-20 22:56:27 UTC) #23
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/0cd086b70ec939cad25768d5e17a61da23613281 Cr-Commit-Position: refs/heads/master@{#12453}
4 years, 8 months ago (2016-04-20 23:23:29 UTC) #25
Taylor Brandstetter
4 years, 8 months ago (2016-04-20 23:23:32 UTC) #27
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
0cd086b70ec939cad25768d5e17a61da23613281 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698