easyRTC Demo: Data Channel File-sharing
This application demonstrates file sharing using the easyRTC.sendData method. It should connect to the server upon start up, and display drag-and-drop areas for other peers.
To use it, drop a file into the drag-and-drop area for a peer. The peer should receive it.
This demo requires data channels that support blobs, which means (currently) that
both parties need to using the same brand of browser and the files have to be very small.
The Demo
Obtaining ID...
Received files:
The Code
HTML
Javascript
The contents of demo_instant_messaging.js: