title: Android MediaRecorder - SetAudioEncodingBitRate - HowTo
body: <p>I tried to record audio in Android. The quality of the sound using the MediaRecorder really sucks. Is there a way to improve quality? The documentation says, there should be something like "setAudioEncodingBitRate", but I haven't found a way to implement it. </p>
  
  <p>Then I tried writing the sound to a stream using the AudioRecord function. Great quality but pcm-files are too large in size as I want to upload them to a remote server.</p>
  
  <p>Does anybody know how to either</p>
  
  <ul>
  <li>improve quality of the AudioRecorder file or</li>
  <li>compress the pcm on the fly (like mp3 or else).</li>
  </ul>
  
  <p>Any help is mostly appreciated. </p>