From 3e3eac1973013688624ec14ae868a31069a7568f Mon Sep 17 00:00:00 2001 From: Dylan McIntyre Date: Tue, 24 Jan 2017 19:51:46 -0500 Subject: [PATCH] always 480p video --- camerakit/src/main/java/com/flurgle/camerakit/Camera1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camerakit/src/main/java/com/flurgle/camerakit/Camera1.java b/camerakit/src/main/java/com/flurgle/camerakit/Camera1.java index e8712239..0ff0e2f1 100644 --- a/camerakit/src/main/java/com/flurgle/camerakit/Camera1.java +++ b/camerakit/src/main/java/com/flurgle/camerakit/Camera1.java @@ -316,7 +316,7 @@ public class Camera1 extends CameraViewImpl { mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); - mMediaRecorder.setProfile(CamcorderProfile.get(mFacing == CameraKit.Constants.FACING_BACK ? CamcorderProfile.QUALITY_HIGH : CamcorderProfile.QUALITY_480P)); + mMediaRecorder.setProfile(CamcorderProfile.get(CamcorderProfile.QUALITY_480P)); mMediaRecorder.setOutputFile(VIDEO_FILE.getAbsolutePath()); mMediaRecorder.setOrientationHint(mCameraInfo.orientation);