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

Issue 651873002: Best effort approach on repeated synchronization lag (Closed)

Created:
6 years, 2 months ago by burnik
Modified:
6 years, 2 months ago
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Best effort approach on repeated synchronization lag A very unlikely scenario in which the peer is not synchronizing for a long time (e.g. 300 ms) which results in dropping cached buffers and restarting. Since we have no control of the endpoint synchronization, we use the best effort approach by clearing the FIFO and trying to catch up with the peer. BUG=408940 Committed: https://crrev.com/ce1012f07a698becd14d11b5949b47bf425c624f Cr-Commit-Position: refs/heads/master@{#299292}

Patch Set 1 #

Patch Set 2 : Nit - remove DCHECK in unit test #

Total comments: 4

Patch Set 3 : Change DVLOG(1) to DLOG(ERROR) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -28 lines) Patch
M content/renderer/media/speech_recognition_audio_sink.cc View 1 2 3 chunks +9 lines, -7 lines 0 comments Download
M content/renderer/media/speech_recognition_audio_sink_unittest.cc View 1 2 8 chunks +47 lines, -21 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
burnik
I believe this does make more sense. :) PTAL
6 years, 2 months ago (2014-10-13 10:17:05 UTC) #2
burnik
Rebase on master
6 years, 2 months ago (2014-10-13 10:25:17 UTC) #3
burnik
Nit - remove DCHECK in unit test
6 years, 2 months ago (2014-10-13 10:29:02 UTC) #4
no longer working on chromium
lgtm with two nits. https://codereview.chromium.org/651873002/diff/200001/content/renderer/media/speech_recognition_audio_sink.cc File content/renderer/media/speech_recognition_audio_sink.cc (right): https://codereview.chromium.org/651873002/diff/200001/content/renderer/media/speech_recognition_audio_sink.cc#newcode132 content/renderer/media/speech_recognition_audio_sink.cc:132: DVLOG(1) << "Audio FIFO overflow"; ...
6 years, 2 months ago (2014-10-13 12:28:56 UTC) #6
no longer working on chromium
lgtm with two nits.
6 years, 2 months ago (2014-10-13 12:28:58 UTC) #7
burnik
Change DVLOG(1) to DLOG(ERROR)
6 years, 2 months ago (2014-10-13 12:36:41 UTC) #8
burnik
Nits addressed. https://codereview.chromium.org/651873002/diff/200001/content/renderer/media/speech_recognition_audio_sink.cc File content/renderer/media/speech_recognition_audio_sink.cc (right): https://codereview.chromium.org/651873002/diff/200001/content/renderer/media/speech_recognition_audio_sink.cc#newcode132 content/renderer/media/speech_recognition_audio_sink.cc:132: DVLOG(1) << "Audio FIFO overflow"; On 2014/10/13 ...
6 years, 2 months ago (2014-10-13 12:37:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/651873002/350001
6 years, 2 months ago (2014-10-13 12:39:29 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:350001)
6 years, 2 months ago (2014-10-13 13:33:51 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 13:34:38 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ce1012f07a698becd14d11b5949b47bf425c624f
Cr-Commit-Position: refs/heads/master@{#299292}

Powered by Google App Engine
This is Rietveld 408576698