Detect users in chatroom

Hi, i would like to know if anybody had done a way to detect users logged in a room of ofmeet. I know that console management shows active users, but i want to show in my index if the room is in use or not.

Thanks in advance,

Miquel