An experiment to distribute the bandwidth among video viewers.
First visitors download chunks from the server and announce which chunks they have to the swarm. Once there is enough visitors, subsequent ones will request chunks from the swarm and not from the server, thus reducing bandwidth cost for the server.
Clone the project:
$ git clone https://github.com/tOkeshu/waggle.js.git
$ cd waggle.js
$ npm install # will also download an example.webm file
Start the server:
$ ./bin/waggle
Then open a browser to http://localhost:7665
The term "waggle" is a reference to the waggle dance performed by honey bees.
Waggle.js is released under the terms of the GNU Affero General Public License v3 or later.