title: Android audio recording encoding/output combination for Bluemix
body: <p>I was recording audio on Android, but it was not being recognized on the IBM Bluemix Speech to Text side. IBM supports the following - <a href="https://www.ibm.com/watson/developercloud/doc/speech-to-text/input.html" rel="nofollow noreferrer">https://www.ibm.com/watson/developercloud/doc/speech-to-text/input.html</a> :</p>
  
  <ul>
  <li>audio/flac</li>
  <li>audio/l16</li>
  <li>audio/wav</li>
  <li>audio/ogg;codecs=vorbis</li>
  <li>audio/webm;codecs=vorbis</li>
  <li>audio/mulaw</li>
  <li>audio/basic</li>
  </ul>
  
  <p>I tried hard to get ogg/webm vorbis recording on Android, but it's not working. I was wondering if you could help me understand which of these types I could use that would work with the Bluemix API.</p>
  
  <p>For encoding options I have:</p>
  
  <pre><code>MediaRecorder.AudioEncoder.AAC
  MediaRecorder.AudioEncoder.AAC_ELD
  MediaRecorder.AudioEncoder.AMR_NB
  MediaRecorder.AudioEncoder.AMR_WB
  MediaRecorder.AudioEncoder.HE_AAC
  MediaRecorder.AudioEncoder.VORBIS
  MediaRecorder.AudioEncoder.DEFAULT
  </code></pre>
  
  <p>For output format options I have:</p>
  
  <pre><code>MediaRecorder.OutputFormat.MPEG_4
  MediaRecorder.OutputFormat.AAC_ADTS
  MediaRecorder.OutputFormat.AMR_NB
  MediaRecorder.OutputFormat.AMR_WB
  MediaRecorder.OutputFormat.THREE_GPP
  MediaRecorder.OutputFormat.WEBM
  MediaRecorder.OutputFormat.DEFAULT
  </code></pre>
  
  <p>I have not been able to find the right combination that works with Bluemix API. Please recommend some combinations to try. Is there one?</p>
  
  <p>Thanks</p>