From 0ac40dcfd140ae5f7bfe6765248ed1ce26fb9ae4 Mon Sep 17 00:00:00 2001 From: Dylan McIntyre Date: Mon, 3 Apr 2017 12:42:39 -0400 Subject: [PATCH] remove mediarecorder length and size caps --- camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java b/camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java index cc14b043..8a4adf50 100644 --- a/camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java +++ b/camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java @@ -404,8 +404,6 @@ public class Camera1 extends CameraImpl { mVideoFile = new File(mPreview.getView().getContext().getExternalFilesDir(null), "video.mp4"); mMediaRecorder.setOutputFile(mVideoFile.getAbsolutePath()); - mMediaRecorder.setMaxDuration(20000); - mMediaRecorder.setMaxFileSize(5000000); mMediaRecorder.setOrientationHint(mCameraInfo.orientation); }