From 9e57378546f341c355a192f26282a626758ce98d Mon Sep 17 00:00:00 2001 From: Randell Jesup Date: Mon, 7 Apr 2014 15:42:01 -0400 Subject: [PATCH] Backed out changeset 974c4db3003e (bug 818822) --- content/media/webrtc/MediaEngineDefault.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/content/media/webrtc/MediaEngineDefault.cpp b/content/media/webrtc/MediaEngineDefault.cpp index 2db600ba837e..6b4f4530ab91 100644 --- a/content/media/webrtc/MediaEngineDefault.cpp +++ b/content/media/webrtc/MediaEngineDefault.cpp @@ -132,12 +132,7 @@ MediaEngineDefaultVideoSource::Start(SourceMediaStream* aStream, TrackID aID) mTrackID = aID; // Start timer for subsequent frames -#if defined(MOZ_WIDGET_GONK) && defined(DEBUG) -// B2G emulator debug is very, very slow and has problems dealing with realtime audio inputs - mTimer->InitWithCallback(this, (1000 / mOpts.mFPS)*10, nsITimer::TYPE_REPEATING_SLACK); -#else mTimer->InitWithCallback(this, 1000 / mOpts.mFPS, nsITimer::TYPE_REPEATING_SLACK); -#endif mState = kStarted; return NS_OK; @@ -405,14 +400,8 @@ MediaEngineDefaultAudioSource::Start(SourceMediaStream* aStream, TrackID aID) mTrackID = aID; // 1 Audio frame per 10ms -#if defined(MOZ_WIDGET_GONK) && defined(DEBUG) -// B2G emulator debug is very, very slow and has problems dealing with realtime audio inputs - mTimer->InitWithCallback(this, MediaEngine::DEFAULT_AUDIO_TIMER_MS*10, - nsITimer::TYPE_REPEATING_PRECISE); -#else mTimer->InitWithCallback(this, MediaEngine::DEFAULT_AUDIO_TIMER_MS, nsITimer::TYPE_REPEATING_PRECISE); -#endif mState = kStarted; return NS_OK;