• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Setting VideoSource

Anji

Lurker
hi All,

Currently I am working on sample Video Recorder Application.

Following is peice of code.

recorder​
.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setVideoSize(176, 144); // QCIF

recorder.setVideoFrameRate(30);

recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);

but when trying to run I am getting following error meassages.

MediaRecorder.VideoSource cannot be resolved
MediaRecorder. SetVideoFrameRate()cannot be resolved ..

Could you all help me in this???
 
Back
Top Bottom