Android Video and Audio recodering
<p>I am writing code for Video/audio Recording function with Media recorder., But i got error  unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
 VerifyAndSetParameter failed
how to solve this problem.please help me.</p>

<pre><code>mediaRecorderRecording = true;
    if (mediaRecorder == null)
        mediaRecorder = new MediaRecorder();
    else
        mediaRecorder.reset();
    mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
    mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
    mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);
    mediaRecorder.setVideoFrameRate(RtspConstants.FPS);
    //mediaRecorder.setVideoSize(Integer.valueOf(RtspConstants.WIDTH), Integer.valueOf(RtspConstants.HEIGHT));

    mediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
    mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);

    mediaRecorder.setPreviewDisplay(previewHolder.getSurface());
    try {
        mediaRecorder.prepare();

        mediaRecorder.start();

    } catch (IOException exception) {
        exception.printStackTrace();
        releaseMediaRecorder();
    }
</code></pre>
