title: Action Script 3 - Capture current playing sound and continuously write to server (for streaming)
body: <p>Basically as my flash program is running I would like it to take the current sounds playing and continuously write that stream to a server. So that another user can then listen to that stream. Basically like a web radio.</p>
  
  <p>This is my naive guess of what to do.</p>
  
  <pre><code>client:
    capture current playing sounds
    convert to mp3
    write to mp3 file on server
  
  other client:
    load that mp3 and play the streaming song
  </code></pre>
  
  <p>Anyone familiar with a solution to this? code examples? I have looked but just don't know enough about Action Script 3 to get anywhere far :/</p>
  
  <p>Note: I am not capturing sound from a microphone, but the current playing sound. (I have written a simple waveform analyzer that reacted to the playing sounds)</p>
  
  <p>Thanks</p>