title: Audio Stream from PC/Mac to Android/iPhone
body: <p>Firstly, as this is essentially a multi-disciplinary question, please feel free to submit answers which only answer one part of the post - I will upvote answers which satisfy any of the questions below.</p>
  <p>Hi, we are putting together an installation in which:</p>
  <ul>
  <li>Audio comes in through a microphone to an <em>FM transmitter</em></li>
  <li>Transmitted to <em>receiver</em></li>
  <li>Receiver is plugged into computer's <em>Line In</em></li>
  <li><strong>Audio is recorded/streamed as an .m3u stream, or recorded, and then uploaded(?)</strong></li>
  <li><strong>Stream is accessible by scanning QR code on iPhone/Android.</strong></li>
  </ul>
  <p>I have a few questions around the subject that I was wondering if people could help with.</p>
  <ol>
  <li><p>This is kind of a minor first question, if you are able to answer the second question, but is the best way to deal with incoming audio to record it 'before' uploading it, resulting in a delay, or is it to stream it?</p>
  </li>
  <li><p>I'm not sure of the best way to host the upload, as I suppose that it would be either an .m3u stream or some kind of progressive .mp3 that would need to be uploaded somewhere that supported this. Any advice? Is this kind of thing possible with free webhosting solutions? It would preferably be above 128kbps, too.</p>
  </li>
  <li><p>Initially, I presumed that the easiest way to have an audio stream linked to a URL that allowed for QR code linking was to build a very simple webpage with a media player on it, so that the end user wouldn't have to download any external application, and it could be done through the Android/iPhone browsers. Is this the case? Is the easiest way of doing this with something like <code>&lt;video&gt;</code> or <code>&lt;audio&gt;</code>, or is the HTML5 support for the mobile browsers not yet good enough? What are the alternatives? Something like <a href="http://www.jplayer.org/" rel="nofollow noreferrer">jPlayer</a> looks like it would work?</p>
  </li>
  </ol>
  <p>Thank you for your responses, I can give any necessary technical information you may find relevant, but these are quite broad questions. We can run the stream from either OSX 10.7 or Windows 7, as we have both, so recommendations for suitable software for either platform are welcomed.</p>
  <p>Thanks again!</p>
  <hr />
  <p><strong>EDIT</strong>: Information from jPlayer.org -</p>
  <blockquote>
  <p><strong>HTML5 Audio Streams</strong></p>
  <p>HTML5 browsers and their support for audio streams. (Note that, jPlayer's Flash fall-back for non-HTML5 browsers works with MP3 streams.)</p>
  <p><strong>Audio streams work on</strong>:</p>
  <p>Firefox (OSX, Win): OGA</p>
  <p>Safari (OSX): MP3</p>
  <p>Mobile Safari (iOS4 iPad/iPhone/iPod): MP3</p>
  <p>Opera (OSX, Win): OGA</p>
  <p>Chrome (OSX, Win): MP3, OGA</p>
  <p>IE9 (Win): MP3</p>
  </blockquote>
  <p>No mention of iOS5 or Android, but I used my android phone to check out the jplayer 1.2 stream demo they have up on their site, and it works. Seems like this could be the answer, but I need to know a little more about hosting, and perhaps iOS5 compatibility, though I'm sure it must work going forward. Anyone?</p>