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

Issue 2628523003: Stop using deprecated constraints-based version of CreateAudioSource. (Closed)

Created:
3 years, 11 months ago by Taylor Brandstetter
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

Stop using deprecated constraints-based version of CreateAudioSource. Also did some slight refactoring of the code that turns constraints into rtc::Optionals. Used a template method to avoid code duplication, and used the same pattern for "CopyConstraintsIntoAudioOptions" as was being used for "CopyConstraintsIntoRtcConfiguration". BUG=webrtc:6752 Review-Url: https://codereview.webrtc.org/2628523003 Cr-Commit-Position: refs/heads/master@{#16063} Committed: https://chromium.googlesource.com/external/webrtc/+/fe0fd41bb96030aa69026b166d4886fc5fc757a6

Patch Set 1 #

Total comments: 2

Patch Set 2 : Eliminate some code duplication. #

Patch Set 3 : Missing bang. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -151 lines) Patch
M webrtc/api/localaudiosource.cc View 2 chunks +1 line, -82 lines 0 comments Download
M webrtc/api/mediaconstraintsinterface.h View 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/api/mediaconstraintsinterface.cc View 1 2 3 chunks +126 lines, -68 lines 0 comments Download
M webrtc/api/peerconnectioninterface.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/sdk/android/src/jni/peerconnection_jni.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 17 (9 generated)
pthatcher1
LGTM, with a suggestion to avoid some code duplication. https://codereview.webrtc.org/2628523003/diff/1/webrtc/api/mediaconstraintsinterface.cc File webrtc/api/mediaconstraintsinterface.cc (right): https://codereview.webrtc.org/2628523003/diff/1/webrtc/api/mediaconstraintsinterface.cc#newcode45 webrtc/api/mediaconstraintsinterface.cc:45: ...
3 years, 11 months ago (2017-01-12 23:15:26 UTC) #2
Taylor Brandstetter
https://codereview.webrtc.org/2628523003/diff/1/webrtc/api/mediaconstraintsinterface.cc File webrtc/api/mediaconstraintsinterface.cc (right): https://codereview.webrtc.org/2628523003/diff/1/webrtc/api/mediaconstraintsinterface.cc#newcode45 webrtc/api/mediaconstraintsinterface.cc:45: } On 2017/01/12 23:15:26, pthatcher1 wrote: > Why doesn't ...
3 years, 11 months ago (2017-01-12 23:38:06 UTC) #3
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/2628523003/20001
3 years, 11 months ago (2017-01-12 23:38:15 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/12189)
3 years, 11 months ago (2017-01-12 23:43:05 UTC) #8
Taylor Brandstetter
magjed: Can you take a look at the JNI changes?
3 years, 11 months ago (2017-01-13 00:10:29 UTC) #10
magjed_webrtc
On 2017/01/13 00:10:29, Taylor Brandstetter wrote: > magjed: Can you take a look at the ...
3 years, 11 months ago (2017-01-13 09:08:25 UTC) #11
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/2628523003/40001
3 years, 11 months ago (2017-01-13 18:34:20 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 19:48:00 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/fe0fd41bb96030aa69026b166...

Powered by Google App Engine
This is Rietveld 408576698