These are chat archives for andyet/SimpleWebRTC

15th
Mar 2015
Jason Lengstorf
@jlengstorf
Mar 15 2015 09:12

I'm hoping this is a silly question, but is there something obvious I'm missing when trying to change rooms? I'm trying to have peers leave on room and join another — I've tried calling something like this:

webrtc.joinRoom('room1'); // Everything works as expected and videos are added

// An event that requires moving to a new room

webrtc.joinRoom('room2'); // The room is joined, but peers don't see each other

When I look at the output of describeRoom(), it's not finding any clients. My assumption is that there's something simple I'm missing, but I'm kind of stuck right now. Anyone dealt with this before?