title: how to stream high quality video and audio from iPhone to remote server through Internet
body: <p>I am seeking the following three items, which I cannot find on STACKOVERFLOW or anywhere:</p>
  
  <ol>
  <li><p>sample code for AVFoundation capturing to file chunks (~10seconds) that are ready for compression?</p></li>
  <li><p>sample code for compressing the video and audio for transmisison across the Internet?
  ffmpeg?</p></li>
  <li><p>sample code for HTTP Live Streaming sending files from iPhone to Internet server?</p></li>
  </ol>
  
  <p>My goal is to use the iPhone as a high quality AV camcorder that streams to a remote server.
  If the intervening data rate bogs down, files should buffer at the iPhone.</p>
  
  <p>thanks.</p>