Very cool, I'll have to play around with this.<p>One request: could you also include an explicit LICENSE.TXT file stating that you have licensed it under the MIT license as opposed to just putting it in the comments? It would make it a lot easier for people to find if they might have requirements in terms of various licensing.
This is a huge step forward for the javascript community. Having _real_ binary communication for WebGL games, media streaming, data analysis, etc etc is going to be huge.<p>Can't wait to see what people do with this.
Yes, perfect timing! I've been needing something like this for a video streaming project I've been working on. I've been using Node for everything and haven't wanted to resort to (and purchase) Adobe Flash.<p>Thanks for making this!<p>Are there are disadvantages to this in terms of optimization compared to something like Flash?
They state that performance is untested. While this is interesting for transporting binary data that needs no encoding or decoding, i suspect the use cases will be minimal. JSON is actually highly efficient already. Ebay did benchmarking of the various binary formats for server-to-server api's, and while JSON wasn't the fastest, it was fast enough. <a href="http://www.infoq.com/presentations/Dealing-with-Performance-Challenges-Optimized-Data-Formats" rel="nofollow">http://www.infoq.com/presentations/Dealing-with-Performance-...</a>
I'm on Firefox 17 but <a href="http://examples.binaryjs.com/hw.html" rel="nofollow">http://examples.binaryjs.com/hw.html</a> tells me<p>> Your browser doesn't support binary websockets and is not yet supported by BinaryJS. Fallbacks are in the works but not yet complete. Chrome 15+ and Firefox 11+ are known to work.<p>I do see a picture of a flower, so it looks like it did actually work despite the message..?
Video or audio chat? Why? You need the new media stream components to get a usable stream for those anyway, and if you have that, you might as well use PeerConnection.