webRTC-io / webRTC.io

An abstraction layer for webRTC. Aim is to simplify the HTML5 web standard webRTC in a similar manner to socket.io w/ websockets. Highly experimental technology
1.6k stars 293 forks source link

make api more socket.io like #15

Open YurySolovyov opened 11 years ago

YurySolovyov commented 11 years ago

it is not cool to always manually encode messages and parse them on client. if you want avoid breaking api i suggest to use send() mehtod for internal need and add emit() method for user custom events.

one problem is how to get user control over WebRTC events