HenrikJoreteg/SimpleWebRTC — pull request #106 by dani (2014-03-28 16:18:08+00:00)
Title: Arbitrary messages via the signaling channel

With this simple change, we can easily handle arbitrary messages sent through the signaling channel, and just process them in webrtc.on('my_custom_event', function(data){

Custom messages can be sent using webrtc.sendToAll('my_custom_event', {foo: bar});

Useful to send other messages (Like the locking/unlocking of the room for example)