From 358e3367a39a62679eba81f57171850c75b80607 Mon Sep 17 00:00:00 2001 From: "fischman@webrtc.org" Date: Tue, 18 Feb 2014 17:29:37 +0000 Subject: [PATCH] PeerConnection(java): enable HW encoder on N5 for standalone build. Now that bug 2899 is fixed (r5562) packet-loss is recoverable. Yay. BUG=2575 R=noahric@google.com Review URL: https://webrtc-codereview.appspot.com/8869004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5568 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/app/webrtc/java/jni/peerconnection_jni.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/talk/app/webrtc/java/jni/peerconnection_jni.cc b/talk/app/webrtc/java/jni/peerconnection_jni.cc index 6910aa4a3a..a1590966b5 100644 --- a/talk/app/webrtc/java/jni/peerconnection_jni.cc +++ b/talk/app/webrtc/java/jni/peerconnection_jni.cc @@ -1685,13 +1685,6 @@ MediaCodecVideoEncoderFactory::MediaCodecVideoEncoderFactory() { if (!is_platform_supported) return; - if (true) { - // TODO(fischman): re-enable once - // https://code.google.com/p/webrtc/issues/detail?id=2899 is fixed. Until - // then the Android MediaCodec experience is too abysmal to turn on. - return; - } - // Wouldn't it be nice if MediaCodec exposed the maximum capabilities of the // encoder? Sure would be. Too bad it doesn't. So we hard-code some // reasonable defaults.