title: Android device doesn't capture video in low quality on Jelly Bean 4.2.2
body: <p>It seems that even after I am setting the video recorder profile to low, the video is in the highest quality.</p>
  
  <p>Here is my code :</p>
  
  <pre><code>        camera.setDisplayOrientation(90);
          camera.unlock();
          recorder.reset();
          recorder.setCamera(camera);
          recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
          recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
          recorder.setProfile(CamcorderProfile.get(CamcorderProfile.QUALITY_LOW));
  
   //when removing these comments I get an exception on my 4.2.2 device when calling start() on the recorder.
  /*      recorder.setVideoFrameRate(24);
          recorder.setVideoSize(480, 360);
  
  */      
          recorder.setOrientationHint(90);
          file = FileUtils.getFileName(FileTypes.VIDEO);
          if (!file.exists()) {
              try {
                  file.createNewFile();
              } catch (IOException e) {
                  e.printStackTrace();
              }
          }
          recorder.setOutputFile(FileUtils.getFileName(FileTypes.VIDEO).toString());
          recorder.setMaxDuration(45000);
  </code></pre>