i tried the code on HTC and it works fine, but on my samsung its not working. please any help would be appreciated.
i think the problem is related to CamcorderProfile.QUALITY_LOW.
recorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT);
recorder.setVideoSource(MediaRecorder.VideoSource.DEFAULT);
CamcorderProfile cpLow = CamcorderProfile
.get(CamcorderProfile.QUALITY_LOW);
recorder.setProfile(cpLow);
recorder.setProfile(CamcorderProfile .get(CamcorderProfile.QUALITY_LOW));
recorder.setOutputFile(Environment.getExternalStorageDirectory()+"/videocapture_example.mp4");
if you would like me to post more code then please ask
0 comments:
Post a Comment