|
|
@ -404,8 +404,6 @@ public class Camera1 extends CameraImpl { |
|
|
|
mVideoFile = new File(mPreview.getView().getContext().getExternalFilesDir(null), "video.mp4"); |
|
|
|
mVideoFile = new File(mPreview.getView().getContext().getExternalFilesDir(null), "video.mp4"); |
|
|
|
mMediaRecorder.setOutputFile(mVideoFile.getAbsolutePath()); |
|
|
|
mMediaRecorder.setOutputFile(mVideoFile.getAbsolutePath()); |
|
|
|
|
|
|
|
|
|
|
|
mMediaRecorder.setMaxDuration(20000); |
|
|
|
|
|
|
|
mMediaRecorder.setMaxFileSize(5000000); |
|
|
|
|
|
|
|
mMediaRecorder.setOrientationHint(mCameraInfo.orientation); |
|
|
|
mMediaRecorder.setOrientationHint(mCameraInfo.orientation); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|