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

Issue 1952123003: Surface the IntelligibilityEnhancer on MediaConstraints (Closed)

Created:
4 years, 7 months ago by aluebs-webrtc
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, sdk-team_agora.io, minyue-webrtc, the sun, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Surface the IntelligibilityEnhancer on MediaConstraints R=henrika@webrtc.org, peah@webrtc.org, tommi@webrtc.org Committed: https://crrev.com/c9b0c26e0c9c43074692a19ac18532062e5b589e Cr-Commit-Position: refs/heads/master@{#12763}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Change to use MediaConstraints #

Total comments: 14

Patch Set 3 : Disable HWNS when IE is enabled #

Total comments: 8

Patch Set 4 : Fix NS enabling logic #

Total comments: 6

Patch Set 5 : Add component to debug proto #

Patch Set 6 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -32 lines) Patch
M webrtc/api/localaudiosource.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/api/mediaconstraintsinterface.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/mediaconstraintsinterface.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 4 5 4 chunks +4 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 3 chunks +21 lines, -4 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.h View 3 chunks +7 lines, -8 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 3 4 8 chunks +21 lines, -12 lines 0 comments Download
M webrtc/modules/audio_processing/debug.proto View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M webrtc/modules/audio_processing/test/debug_dump_replayer.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/test/unpack.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 42 (10 generated)
aluebs-webrtc
peah: webrtc/modules/audio_processing/* solenberg: webrtc/media/engine/webrtcvoiceengine.cc henrika: webrtc/modules/audio_device/* As discussed, here I am surfacing Intelligibility Enhancer to ...
4 years, 7 months ago (2016-05-05 01:03:35 UTC) #2
peah-webrtc
https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode413 webrtc/modules/audio_processing/audio_processing_impl.cc:413: if(capture_nonlocked_.intelligibility_enabled != Could you please explain more why it ...
4 years, 7 months ago (2016-05-05 18:49:41 UTC) #3
aluebs-webrtc
https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode413 webrtc/modules/audio_processing/audio_processing_impl.cc:413: if(capture_nonlocked_.intelligibility_enabled != On 2016/05/05 18:49:41, peah-webrtc wrote: > Could ...
4 years, 7 months ago (2016-05-05 21:53:05 UTC) #4
peah-webrtc
https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode413 webrtc/modules/audio_processing/audio_processing_impl.cc:413: if(capture_nonlocked_.intelligibility_enabled != On 2016/05/05 21:53:05, aluebs-webrtc wrote: > On ...
4 years, 7 months ago (2016-05-05 22:13:18 UTC) #5
the sun
https://codereview.webrtc.org/1952123003/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1952123003/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode846 webrtc/media/engine/webrtcvoiceengine.cc:846: const bool intelligibility_enhancer = adm()->IntelligibilityIsEnabled(); Is the idea to ...
4 years, 7 months ago (2016-05-06 09:00:16 UTC) #6
henrika_webrtc
I don't feel confident reviewing as is since I miss the background information of the ...
4 years, 7 months ago (2016-05-06 09:16:46 UTC) #7
aluebs-webrtc
https://codereview.webrtc.org/1952123003/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1952123003/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode846 webrtc/media/engine/webrtcvoiceengine.cc:846: const bool intelligibility_enhancer = adm()->IntelligibilityIsEnabled(); On 2016/05/06 09:00:15, the ...
4 years, 7 months ago (2016-05-06 16:27:11 UTC) #8
aluebs-webrtc
On 2016/05/06 09:16:46, henrika_webrtc wrote: > I don't feel confident reviewing as is since I ...
4 years, 7 months ago (2016-05-06 16:42:36 UTC) #9
aluebs-webrtc
tommi: webrtc/api/* Changed to use MediaConstraints as discussed. Unfortunately I don't find a simple way ...
4 years, 7 months ago (2016-05-10 23:26:48 UTC) #13
tommi
Reviewed on my phone, so I might have missed some things https://codereview.webrtc.org/1952123003/diff/20001/webrtc/api/mediaconstraintsinterface.cc File webrtc/api/mediaconstraintsinterface.cc (right): ...
4 years, 7 months ago (2016-05-11 06:06:48 UTC) #14
henrika_webrtc
Looks good but I think you can add support to turn off the HW NS ...
4 years, 7 months ago (2016-05-11 08:50:24 UTC) #15
henrika_webrtc
https://codereview.webrtc.org/1952123003/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1952123003/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc#newcode847 webrtc/media/engine/webrtcvoiceengine.cc:847: if (options.intelligibility_enhancer) { You have access to the ADM ...
4 years, 7 months ago (2016-05-11 08:50:36 UTC) #16
the sun
https://codereview.webrtc.org/1952123003/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1952123003/diff/20001/webrtc/media/engine/webrtcvoiceengine.cc#newcode854 webrtc/media/engine/webrtcvoiceengine.cc:854: new webrtc::Intelligibility(*intelligibility_enhancer_)); nit: the call to adm()->EnableBuiltInNS(false) should be ...
4 years, 7 months ago (2016-05-11 11:23:41 UTC) #17
aluebs-webrtc
https://codereview.webrtc.org/1952123003/diff/20001/webrtc/api/mediaconstraintsinterface.cc File webrtc/api/mediaconstraintsinterface.cc (right): https://codereview.webrtc.org/1952123003/diff/20001/webrtc/api/mediaconstraintsinterface.cc#newcode50 webrtc/api/mediaconstraintsinterface.cc:50: "IntelligibilityEnhancer"; On 2016/05/11 06:06:48, tommi-webrtc wrote: > This doesn't ...
4 years, 7 months ago (2016-05-11 21:22:05 UTC) #18
henrika_webrtc
LGTM https://codereview.webrtc.org/1952123003/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1952123003/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc#newcode750 webrtc/media/engine/webrtcvoiceengine.cc:750: if (options.intelligibility_enhancer) { Please add logs here as ...
4 years, 7 months ago (2016-05-12 06:58:33 UTC) #19
tommi
https://codereview.webrtc.org/1952123003/diff/20001/webrtc/api/mediaconstraintsinterface.cc File webrtc/api/mediaconstraintsinterface.cc (right): https://codereview.webrtc.org/1952123003/diff/20001/webrtc/api/mediaconstraintsinterface.cc#newcode50 webrtc/api/mediaconstraintsinterface.cc:50: "IntelligibilityEnhancer"; This should be intelligibilityEnhancer https://codereview.webrtc.org/1952123003/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (left): ...
4 years, 7 months ago (2016-05-12 07:06:38 UTC) #20
tommi
On 2016/05/12 07:06:38, tommi-webrtc wrote: > https://codereview.webrtc.org/1952123003/diff/20001/webrtc/api/mediaconstraintsinterface.cc > File webrtc/api/mediaconstraintsinterface.cc (right): > > https://codereview.webrtc.org/1952123003/diff/20001/webrtc/api/mediaconstraintsinterface.cc#newcode50 > ...
4 years, 7 months ago (2016-05-12 07:20:50 UTC) #21
peah-webrtc
https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode413 webrtc/modules/audio_processing/audio_processing_impl.cc:413: if(capture_nonlocked_.intelligibility_enabled != On 2016/05/06 16:27:10, aluebs-webrtc wrote: > On ...
4 years, 7 months ago (2016-05-12 08:05:12 UTC) #22
the sun
https://codereview.webrtc.org/1952123003/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1952123003/diff/40001/webrtc/media/engine/webrtcvoiceengine.cc#newcode752 webrtc/media/engine/webrtcvoiceengine.cc:752: if (intelligibility_enhancer_ && *intelligibility_enhancer_) { why do you need ...
4 years, 7 months ago (2016-05-12 11:50:01 UTC) #23
aluebs-webrtc
https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode413 webrtc/modules/audio_processing/audio_processing_impl.cc:413: if(capture_nonlocked_.intelligibility_enabled != On 2016/05/12 08:05:12, peah-webrtc wrote: > On ...
4 years, 7 months ago (2016-05-13 02:04:38 UTC) #24
peah-webrtc
https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1952123003/diff/1/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode413 webrtc/modules/audio_processing/audio_processing_impl.cc:413: if(capture_nonlocked_.intelligibility_enabled != On 2016/05/13 02:04:37, aluebs-webrtc wrote: > On ...
4 years, 7 months ago (2016-05-13 12:39:49 UTC) #25
tommi
> https://codereview.webrtc.org/1952123003/diff/20001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode417 > webrtc/modules/audio_processing/audio_processing_impl.cc:417: > InitializeIntelligibility(); > On 2016/05/12 07:06:38, tommi-webrtc wrote: > > On ...
4 years, 7 months ago (2016-05-13 13:11:31 UTC) #26
aluebs-webrtc
https://codereview.webrtc.org/1952123003/diff/60001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1952123003/diff/60001/webrtc/media/engine/webrtcvoiceengine.cc#newcode759 webrtc/media/engine/webrtcvoiceengine.cc:759: if (adm()->BuiltInNSIsAvailable()) { On 2016/05/13 12:39:49, peah-webrtc wrote: > ...
4 years, 7 months ago (2016-05-13 16:24:28 UTC) #27
henrika_dont_use
Regarding A/B tests of IE. It will most likely be super tricky to ensure that ...
4 years, 7 months ago (2016-05-16 07:38:46 UTC) #28
peah-webrtc
https://codereview.webrtc.org/1952123003/diff/60001/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/1952123003/diff/60001/webrtc/media/engine/webrtcvoiceengine.cc#newcode759 webrtc/media/engine/webrtcvoiceengine.cc:759: if (adm()->BuiltInNSIsAvailable()) { On 2016/05/13 16:24:28, aluebs-webrtc wrote: > ...
4 years, 7 months ago (2016-05-16 07:43:38 UTC) #29
peah-webrtc
On 2016/05/16 07:38:46, henrika_dont_use wrote: > Regarding A/B tests of IE. It will most likely ...
4 years, 7 months ago (2016-05-16 07:52:10 UTC) #30
peah-webrtc
lgtm for audio_processing* conditioned on that a text is added to the Experiments field in ...
4 years, 7 months ago (2016-05-16 08:09:36 UTC) #31
aluebs-webrtc
Personally I don't think it will be that hard to correlate the potential AEC issues ...
4 years, 7 months ago (2016-05-16 20:21:16 UTC) #33
aluebs-webrtc
Will land now, but if anyone has any additional comment (solenberg in particular) please let ...
4 years, 7 months ago (2016-05-16 20:24:16 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1952123003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1952123003/100001
4 years, 7 months ago (2016-05-16 20:24:30 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-16 22:25:14 UTC) #39
aluebs-webrtc
4 years, 7 months ago (2016-05-16 22:32:52 UTC) #41
Message was sent while issue was closed.
Committed patchset #6 (id:120001) manually as
c9b0c26e0c9c43074692a19ac18532062e5b589e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698