With Chrome Packaged Apps and Mozilla Open Web Apps, desktop apps can now be written in HTML & JS. Apart from cosmetical distinction, these apps gain a number of privileges over conventional Web apps.
This talk focuses on the fileSystem and socket APIs for a polished attempt at bringing the Internet's best media distribution system back to the browser: Bitford, a BitTorrent client running as a Chrome Packaged App.
I will detail some practical techniques for processing binary data streams. Necessary information about BitTorrent will be provided. Then I am going to talk about ways to facilitate streaming to HTML5 media elements as soon as particular data is available and verified. That means: load a .torrent and start playback almost immediately!