Setting VideoSource


Last Updated:

  1. Anji

    Anji New Member This Topic's Starter

    Joined:
    Apr 6, 2009
    Messages:
    1
    Likes Received:
    0
    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???
     

    Advertisement
  2. genxsol

    genxsol New Member

    Joined:
    May 14, 2009
    Messages:
    2
    Likes Received:
    0
    i think videoSource is not available in 1.1 and lower sdk.
    u can try 1.5
     

Share This Page

Loading...