Index: webrtc/api/android/jni/androidmediaencoder_jni.cc |
diff --git a/webrtc/api/android/jni/androidmediaencoder_jni.cc b/webrtc/api/android/jni/androidmediaencoder_jni.cc |
index ef3d4815badaaf4d2390fa82d3a6fb4559364874..83c03b229aff2c656addd6a619e4d6c08cbad7ad 100644 |
--- a/webrtc/api/android/jni/androidmediaencoder_jni.cc |
+++ b/webrtc/api/android/jni/androidmediaencoder_jni.cc |
@@ -84,8 +84,8 @@ namespace webrtc_jni { |
namespace { |
// Maximum time limit between incoming frames before requesting a key frame. |
-const size_t kFrameDiffThresholdMs = 1100; |
-const int kMinKeyFrameInterval = 2; |
+const size_t kFrameDiffThresholdMs = 350; |
+const int kMinKeyFrameInterval = 6; |
} // namespace |
// MediaCodecVideoEncoder is a webrtc::VideoEncoder implementation that uses |