BinaryJS is bidrectional realtime binary data with binary websockets
A year ago if someone asked you "how do I stream binary data / audio / video / files to Javascript?" the answer would have been "Flash" or "no" (or "Java applets")
The BinaryJS framework employs websockets to send, stream, and pipe binary data bidirectionally between browser javascript and Node.js.
- BinaryPack serialization format is fast, binary, and JSON-type compatible. Data stays binary end to end
- Automatically chunks large binary data buffers for streaming performance
- Send multiple streams of data concurrently over multiplexed websocket connection
- API implements Node.js read/write Streams. You can pipe any stream into BinaryJS streams (and vice-versa)
- "pause," "resume," and "end" as in the Streams API
BinaryJS presently supports Chrome 15+, Firefox 11+, Internet Explorer 10, and Safari nightly builds.
Comments