This event allows you get list of all public rooms
connection.publicRoomIdentifier = 'unique-id-for-your-page'; // required connection.socket.emit('get-public-rooms', connection.publicRoomIdentifier, function(listOfRooms) { listOfRooms.forEach(function(room) { console.log(roomid); }); });
Here is a demo that is using "get-public-rooms": demos/dashboard.html