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

Issue 2306803003: Hotword: Fix always-on case by removing MS_CONFIGURED timeout (Closed)

Created:
4 years, 3 months ago by benzh
Modified:
4 years, 3 months ago
Reviewers:
dgreid, Peng, Matt Giuca
CC:
chromium-reviews, rlp+watch_chromium.org, arv+watch_chromium.org, Anand Mistry (off Chromium)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hotword: Fix always-on case by removing MS_CONFIGURED timeout The behavior of MediaStreamAudioTrack::Configure() has changed: Configure() used to be able to complete before any audio sample is received because the AudioParameter can be obtained from a WebRtcLocalAudioTrack according to https://codereview.chromium.org/857093002 After the media stream refactoring http://crbug.com/577874 Configure() remains pending until the first audio frame is received. For always-on hotword detection with a DSP audio source, no audio sample is sent until the DSP detects a potential hotword trigger. This patch removes MS_CONFIGURED timeout so that the plugin can keep waiting for a hotword instead of reporting a timeout error. BUG=616203 TEST=Verified always-on hotwording on Samus and Chell Signed-off-by: Ben Zhang <benzh@chromium.org>; CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/3d143aff4728e8bc2a06cd82a2f6d2444fc14726 Cr-Commit-Position: refs/heads/master@{#418997}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Hotword: Fix always-on case by removing MS_CONFIGURED timeout #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M chrome/browser/resources/hotword/nacl_manager.js View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Matt Giuca
Hi Ben, sorry I missed this for days and days. I'm not able to comment ...
4 years, 3 months ago (2016-09-08 03:50:45 UTC) #5
benzh
Thanks for the review Matt. I've updated the comment and commit message.
4 years, 3 months ago (2016-09-08 23:41:38 UTC) #8
Matt Giuca
slgtm Ping dgreid, penghuang for review.
4 years, 3 months ago (2016-09-09 01:49:39 UTC) #10
dgreid
On 2016/09/09 01:49:39, Matt Giuca wrote: > slgtm > > Ping dgreid, penghuang for review. ...
4 years, 3 months ago (2016-09-09 02:10:25 UTC) #11
Matt Giuca
On 2016/09/09 02:10:25, dgreid wrote: > On 2016/09/09 01:49:39, Matt Giuca wrote: > > slgtm ...
4 years, 3 months ago (2016-09-09 02:37:08 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.chromium.org/2306803003/20001
4 years, 3 months ago (2016-09-15 20:55:24 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-15 21:57:57 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 22:00:18 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3d143aff4728e8bc2a06cd82a2f6d2444fc14726
Cr-Commit-Position: refs/heads/master@{#418997}

Powered by Google App Engine
This is Rietveld 408576698