Commit 13f15cf3 authored by henrika@chromium.org's avatar henrika@chromium.org

Increased initial timer interval to ensure that we don't trigger error...

Increased initial timer interval to ensure that we don't trigger error callback on certain "slow" Mac devices.

TBR=tommi
BUG=226327
TEST=Misc audio input demos in Chrome (WebRTC).

Review URL: https://codereview.chromium.org/13679007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192542 0039d316-1c4b-4281-b951-d872f2087c98
parent 3113151c
......@@ -16,7 +16,13 @@ const int kTimerResetIntervalSeconds = 1;
// audio has faded away.
const int kTimerInitialIntervalSeconds = 4;
#else
const int kTimerInitialIntervalSeconds = 1;
// We have received reports that the timer can be too trigger happy on some
// Mac devices and the initial timer interval has therefore been increased
// from 1 second to 5 seconds.
// TODO(henrika): remove usage of timers and add support for proper
// notification of when the input device is removed.
// See http://crbug.com/226327 for details.
const int kTimerInitialIntervalSeconds = 5;
#endif // defined(OS_IOS)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment