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, connect to a peer then drop a file into the drag-and-drop area for that peer. The peer should receive it.

Warn This demo requires reliable data channels which means it needs Firefox or Chrome (version 32+). In the absence of reliable data channels it will fallback to using websockets to transfer a file. Notice that it uses easyrtc_ft.js as well as easyrtc.js.

The Demo

Obtaining ID...

The Code




The contents of demo_instant_messaging.js: