|
|
|
@ -725,7 +725,11 @@ public class VideoFragment extends Fragment implements View.OnClickListener, Med
|
|
|
|
|
camcorderProfile = CamcorderProfile.get(mCameraId, quality);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT);
|
|
|
|
|
} catch (Exception ex) {
|
|
|
|
|
ex.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE);
|
|
|
|
|
mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
|
|
|
|
|
if (mNextVideoAbsolutePath == null || mNextVideoAbsolutePath.isEmpty()) {
|
|
|
|
|