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

Issue 1917193008: Adding getParameters/setParameters APIs to RtpReceiver. (Closed)

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

Description

Adding getParameters/setParameters APIs to RtpReceiver. This is similar to how a "receive" method is used to apply RtpParameters to an RtpReceiver in ORTC. Currently, SetParameters doesn't allow changing the parameters, so the main use of the API is to retrieve the set of configured codecs. But other uses will likely be made possible in the future. R=glaznev@webrtc.org, pthatcher@webrtc.org, tkchin@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/db0cd9e774dbe91f41fea349fef995c2b5887c25

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding isEqual implementation for RTCRtpSender and RTCRtpReceiver #

Total comments: 2

Patch Set 3 : Adding nil check and removing unneeded methods. #

Total comments: 4

Patch Set 4 : Merging with master #

Patch Set 5 : Fixing compile errors introduced by merge #

Patch Set 6 : Fixing line length complaint. #

Patch Set 7 : objc compile errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+839 lines, -249 lines) Patch
M webrtc/api/java/jni/peerconnection_jni.cc View 1 2 3 6 chunks +59 lines, -40 lines 0 comments Download
M webrtc/api/java/src/org/webrtc/RtpReceiver.java View 2 chunks +13 lines, -0 lines 0 comments Download
M webrtc/api/mediastreamprovider.h View 2 chunks +16 lines, -6 lines 0 comments Download
M webrtc/api/rtpparameters.h View 3 chunks +5 lines, -0 lines 0 comments Download
M webrtc/api/rtpreceiver.h View 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/api/rtpreceiver.cc View 3 chunks +19 lines, -0 lines 0 comments Download
M webrtc/api/rtpreceiverinterface.h View 2 chunks +8 lines, -0 lines 0 comments Download
M webrtc/api/rtpsender.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/api/rtpsenderreceiver_unittest.cc View 1 2 3 5 chunks +42 lines, -8 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 3 2 chunks +12 lines, -6 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 3 2 chunks +46 lines, -10 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download
M webrtc/media/base/codec_unittest.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M webrtc/media/base/fakemediaengine.h View 1 2 3 3 chunks +40 lines, -12 lines 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 2 chunks +18 lines, -6 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 2 chunks +53 lines, -7 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 3 3 chunks +64 lines, -31 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 2 3 2 chunks +9 lines, -5 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 6 chunks +62 lines, -12 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 1 2 3 4 5 chunks +61 lines, -32 lines 0 comments Download
M webrtc/pc/channel.h View 1 2 3 4 chunks +22 lines, -8 lines 0 comments Download
M webrtc/pc/channel.cc View 1 2 3 2 chunks +70 lines, -20 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download
M webrtc/sdk/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm View 1 2 3 4 5 6 1 chunk +88 lines, -0 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver+Private.h View 1 2 1 chunk +9 lines, -6 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCRtpSender.mm View 1 2 3 4 2 chunks +34 lines, -10 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCRtpSender+Private.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpReceiver.h View 1 2 3 4 5 6 1 chunk +11 lines, -7 lines 0 comments Download
M webrtc/sdk/sdk.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
Taylor Brandstetter
4 years, 7 months ago (2016-04-27 23:38:57 UTC) #2
Taylor Brandstetter
Zeke: Please review Objective C code. Alex: Please review Java code. Peter: Please review the ...
4 years, 7 months ago (2016-04-28 16:44:26 UTC) #4
tkchin_webrtc
https://codereview.webrtc.org/1917193008/diff/1/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h File webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h (right): https://codereview.webrtc.org/1917193008/diff/1/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h#newcode131 webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h:131: * Use isEqual: instead of == to compare RTCRtpReceiver ...
4 years, 7 months ago (2016-04-28 18:12:12 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/1917193008/diff/1/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h File webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h (right): https://codereview.webrtc.org/1917193008/diff/1/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h#newcode131 webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h:131: * Use isEqual: instead of == to compare RTCRtpReceiver ...
4 years, 7 months ago (2016-04-28 21:22:52 UTC) #6
tkchin_webrtc
lgtm for objc https://codereview.webrtc.org/1917193008/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm File webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm (right): https://codereview.webrtc.org/1917193008/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm#newcode44 webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm:44: if (![object isMemberOfClass:[self class]]) { would ...
4 years, 7 months ago (2016-04-28 21:57:41 UTC) #7
Taylor Brandstetter
https://codereview.webrtc.org/1917193008/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm File webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm (right): https://codereview.webrtc.org/1917193008/diff/20001/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm#newcode44 webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver.mm:44: if (![object isMemberOfClass:[self class]]) { On 2016/04/28 21:57:41, tkchin_webrtc ...
4 years, 7 months ago (2016-04-28 22:24:12 UTC) #8
AlexG
lgtm for Java
4 years, 7 months ago (2016-05-05 21:53:46 UTC) #9
Taylor Brandstetter
Pinging Peter
4 years, 7 months ago (2016-05-12 15:32:32 UTC) #10
pthatcher1
lgtm I think I would prefer the unique_ptr return on the GetRtpParameters, but it shouldn't ...
4 years, 7 months ago (2016-05-13 18:41:53 UTC) #11
Taylor Brandstetter
https://codereview.webrtc.org/1917193008/diff/40001/webrtc/api/mediastreamprovider.h File webrtc/api/mediastreamprovider.h (right): https://codereview.webrtc.org/1917193008/diff/40001/webrtc/api/mediastreamprovider.h#newcode74 webrtc/api/mediastreamprovider.h:74: const RtpParameters& parameters) = 0; On 2016/05/13 18:41:53, pthatcher1 ...
4 years, 7 months ago (2016-05-13 19:09:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917193008/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917193008/60001
4 years, 7 months ago (2016-05-13 22:02:52 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/7445) ios_arm64_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 7 months ago (2016-05-13 22:05:02 UTC) #17
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/db0cd9e774dbe91f41fea349fef995c2b5887c25 Cr-Commit-Position: refs/heads/master@{#12761}
4 years, 7 months ago (2016-05-16 18:40:42 UTC) #20
Taylor Brandstetter
4 years, 7 months ago (2016-05-16 18:40:43 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
db0cd9e774dbe91f41fea349fef995c2b5887c25 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698