silviapfeiffer/lca_2014_webrtc — pull request #1 by DamonOehlman (2014-01-03 05:05:47+00:00)
Title: Remote slide updates

Hey Silvia,

I've updated glue.js to the latest version which provides the `connected` event and this gives you access to the signaller. I've also implemented the remote slide updating. I've done this kind of thing with deck.js a while a go so after I remembered what I did it was pretty easy. The only trick is that the `deck.change` event is triggered in response to the `go` request also so it is pretty easy to get yourself into a messaging loop :/

As such, when the slides are loaded normally in a browser the remote updates are not sent. When you load your slides to present, simply add a querystring component to the request (anything will do, but I added `?master`) and you will broadcast updates to other peers connected to the signalling server room.

Cheers,
Damon.