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

Issue 2408143003: Added a level controller initialization value to MediaConstraints. (Closed)

Created:
4 years, 2 months ago by aleloi
Modified:
4 years, 2 months ago
Reviewers:
tommi, peah-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added a level controller initialization value to MediaConstraints. An audio track with a level controller with the correct initialization value can be created by a combination of PeerConnectionFactory::CreateAudioTrack(..., audio_source) and either audio_source = PeerConnectionFactory::CreateAudioSource(constraints) or audio_source = PeerConnectionFactory::CreateAudioSource(audio_options). NOTRY=True BUG=webrtc:6386 Committed: https://crrev.com/e33c5d918a213202321bde751226c4949644fe5e Cr-Commit-Position: refs/heads/master@{#14693}

Patch Set 1 : Tests pass. #

Patch Set 2 : Improve documenting comment. #

Total comments: 5

Patch Set 3 : Minor changes in constraints -> options translation & changed logging order. #

Total comments: 5

Patch Set 4 : Changed the boolean constraints variable name and comment back to its original form. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M webrtc/api/localaudiosource.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M webrtc/api/mediaconstraintsinterface.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/api/mediaconstraintsinterface.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 4 chunks +9 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
aleloi
The following describes the path of an initialization value to the level controller. Points marked ...
4 years, 2 months ago (2016-10-12 11:11:04 UTC) #1
aleloi
Can you take an initial look, peah@? https://codereview.webrtc.org/2408143003/diff/20001/webrtc/api/localaudiosource.cc File webrtc/api/localaudiosource.cc (right): https://codereview.webrtc.org/2408143003/diff/20001/webrtc/api/localaudiosource.cc#newcode79 webrtc/api/localaudiosource.cc:79: } I'm ...
4 years, 2 months ago (2016-10-12 11:43:09 UTC) #3
aleloi
The following describes the path of an initialization value to the level controller. Points marked ...
4 years, 2 months ago (2016-10-12 11:43:38 UTC) #4
peah-webrtc
Great! Have you been able to test this in a real call? lgtm https://codereview.webrtc.org/2408143003/diff/20001/webrtc/api/localaudiosource.cc File ...
4 years, 2 months ago (2016-10-13 10:23:48 UTC) #5
aleloi
Yes, I modified peerconnection_client locally to check that the options were applied correctly. https://codereview.webrtc.org/2408143003/diff/20001/webrtc/api/localaudiosource.cc File ...
4 years, 2 months ago (2016-10-13 10:30:47 UTC) #6
aleloi
tommi@, could you take a look at this? This CL is similar to this one ...
4 years, 2 months ago (2016-10-17 11:45:31 UTC) #9
aleloi
https://codereview.webrtc.org/2408143003/diff/40001/webrtc/api/mediaconstraintsinterface.h File webrtc/api/mediaconstraintsinterface.h (right): https://codereview.webrtc.org/2408143003/diff/40001/webrtc/api/mediaconstraintsinterface.h#newcode79 webrtc/api/mediaconstraintsinterface.h:79: kLevelControlInitialPeakLevelDBFS[]; // levelControlInitialPeakLevelDBFS I wonder how the deprecation of ...
4 years, 2 months ago (2016-10-17 14:11:09 UTC) #10
tommi
Lgtm with two comments https://codereview.webrtc.org/2408143003/diff/40001/webrtc/api/localaudiosource.cc File webrtc/api/localaudiosource.cc (right): https://codereview.webrtc.org/2408143003/diff/40001/webrtc/api/localaudiosource.cc#newcode29 webrtc/api/localaudiosource.cc:29: // Set boolean constarints first. ...
4 years, 2 months ago (2016-10-19 11:25:50 UTC) #11
aleloi
https://codereview.webrtc.org/2408143003/diff/40001/webrtc/api/localaudiosource.cc File webrtc/api/localaudiosource.cc (right): https://codereview.webrtc.org/2408143003/diff/40001/webrtc/api/localaudiosource.cc#newcode29 webrtc/api/localaudiosource.cc:29: // Set boolean constarints first. On 2016/10/19 11:25:50, tommi ...
4 years, 2 months ago (2016-10-19 13:59:21 UTC) #12
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/2408143003/60001
4 years, 2 months ago (2016-10-19 14:00:13 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 2 months ago (2016-10-19 16:00:35 UTC) #18
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/2408143003/80001
4 years, 2 months ago (2016-10-20 08:22:28 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-20 08:53:33 UTC) #23
commit-bot: I haz the power
4 years, 2 months ago (2016-10-20 08:53:38 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e33c5d918a213202321bde751226c4949644fe5e
Cr-Commit-Position: refs/heads/master@{#14693}

Powered by Google App Engine
This is Rietveld 408576698