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

Issue 914133003: Fix AudioPump to pause the stream when the network is congested. (Closed)

Created:
5 years, 10 months ago by Sergey Ulanov
Modified:
5 years, 10 months ago
Reviewers:
Wez
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@audio_pump
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix AudioPump to pause the stream when the network is congested. Previously AudioPump would buffer infinite amount of audio data even when the network is congested. With this changed the amount of data it can buffer is limited to 5kB and it starts dropping packets after that. Committed: https://crrev.com/22931b53164771ea916a2d0498073198f2567a09 Cr-Commit-Position: refs/heads/master@{#316669}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -19 lines) Patch
M remoting/codec/audio_encoder.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/codec/audio_encoder_opus.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/codec/audio_encoder_opus.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/codec/audio_encoder_verbatim.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/codec/audio_encoder_verbatim.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/host/audio_pump.h View 1 2 chunks +8 lines, -6 lines 0 comments Download
M remoting/host/audio_pump.cc View 1 2 6 chunks +41 lines, -13 lines 0 comments Download
A remoting/host/audio_pump_unittest.cc View 1 2 3 1 chunk +140 lines, -0 lines 0 comments Download
M remoting/remoting_test.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
Sergey Ulanov
5 years, 10 months ago (2015-02-11 23:16:20 UTC) #3
Wez
lgtm https://codereview.chromium.org/914133003/diff/20001/remoting/host/audio_pump.cc File remoting/host/audio_pump.cc (right): https://codereview.chromium.org/914133003/diff/20001/remoting/host/audio_pump.cc#newcode20 remoting/host/audio_pump.cc:20: // dropping packets. 5kB is about 0.25s in ...
5 years, 10 months ago (2015-02-12 02:29:47 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/914133003/diff/20001/remoting/host/audio_pump.cc File remoting/host/audio_pump.cc (right): https://codereview.chromium.org/914133003/diff/20001/remoting/host/audio_pump.cc#newcode20 remoting/host/audio_pump.cc:20: // dropping packets. 5kB is about 0.25s in a ...
5 years, 10 months ago (2015-02-13 21:21:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914133003/80001
5 years, 10 months ago (2015-02-13 21:26:16 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/25074)
5 years, 10 months ago (2015-02-13 22:28:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914133003/80001
5 years, 10 months ago (2015-02-13 22:31:05 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/25126)
5 years, 10 months ago (2015-02-13 23:27:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914133003/80001
5 years, 10 months ago (2015-02-17 18:17:09 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/36163)
5 years, 10 months ago (2015-02-17 19:55:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/914133003/100001
5 years, 10 months ago (2015-02-17 21:05:39 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 10 months ago (2015-02-17 22:16:29 UTC) #22
commit-bot: I haz the power
5 years, 10 months ago (2015-02-17 22:17:08 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/22931b53164771ea916a2d0498073198f2567a09
Cr-Commit-Position: refs/heads/master@{#316669}

Powered by Google App Engine
This is Rietveld 408576698