Do you know how to use Room Scope and to group streams (users) to a "protected" group?
Room scope is good way to group users. The application adapter roomStart and roomJoin work well for allowing connection and creation of those groups. One way to group users by room is to connect them all to same room scope. For example, your RTMP URL would look like this : rtmp://serverhost/live/rooma, where rooma is the scope / room.