EasyRTC Demo: Data Channel Messaging

This application demonstrates text messaging using data channels via the easyrtc.sendDataP2P method.

Warn We are currently supporting data channels for Firefox, and for Chrome (version 32+). This demo will not work with chrome version 30 and probably not with version 31. Data channels do not currently interoperate between Chrome and Firefox.


The Demo

Obtaining ID...
Received Messages:

Works In:

Chrome Canary Requires RTCDataChannel flag to be set in chrome://flags
Firefox Aurora Requires PeerConnection flag to be set in about:config
Firefox Nightly Requires PeerConnection flag to be set in about:config

The Code

HTML

                

Javascript

The contents of demo_instant_messaging.js: