Skip to content

Commit

Permalink
Merge pull request CameraKit#281 from Vimily/feature/microphone-change
Browse files Browse the repository at this point in the history
Update AudioSource reference to MIC from CAMCORDER
  • Loading branch information
austinkettner authored Jan 22, 2018
2 parents ae1e674 + 737621a commit 1c2770c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,8 @@ private boolean prepareMediaRecorder(File videoFile) throws IOException {
mMediaRecorder = new MediaRecorder();
mMediaRecorder.setCamera(mCamera);

mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
//mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);

CamcorderProfile profile = getCamcorderProfile(mVideoQuality);
Expand Down

0 comments on commit 1c2770c

Please sign in to comment.