title: Stream Binary Data over WebSockets using Ratchet for PHP
body: <p>I've successfully setup a WebSocket server using Ratchet for PHP on Windows/IIS. I went with Ratchet's available WAMP(WebSocket Application Messaging Protocol) setup so that I have Pub/Sub and RPC capabilities. That's been great for minor things like chatting or simple updates. What I am curious about is how to stream raw binary data (like audio/video) to a target audience (1 or more people)...</p>
  
  <p><strong>Server(s) :</strong> <br/>
  - Windows 7 (64-bit) / Windows 2008 Server Enterprise (64-bit) <br/>
  - PHP 5.4.x <br/>
  - Ratchet (WebSocket Server) <a href="http://socketo.me/docs/wamp" rel="nofollow">http://socketo.me/docs/wamp</a> <br/>
   <br/>
  <strong>Client Setup:</strong> <br/>
  - Autobahn|JS <a href="http://autobahn.ws/js/" rel="nofollow">http://autobahn.ws/js/</a> <br/>
  - when.js <a href="https://github.com/cujojs/when" rel="nofollow">https://github.com/cujojs/when</a> <br/></p>
  
  <p>Is there a solution out there using my setup that allows me to stream binary data to a target audience? Thanks in advance! </p>