[Red5] room admin
dev at binarycrafts.com
Fri Jun 29 06:59:33 EDT 2007
So I want to do this:
1. for a client to start a room he needs to provide proper auth in order
to be able to do this. If not he's disconnected and the room instance
doesn't get created.
2. if the first client created a room I need to keep a room level
reference to it as an admin so I allow only him to call certain methods
like allowing other users in the room to publish streams
3. the clients that join the room after that get just a user level.
4. I keep a room level SO with the key = client id and the value = an
instance of my BroadcastClient class ( has properties like username, id,
streamName, etc )
a. is roomStart the place to solve issue 1. ?
b. do I give the admin property to the main Application instance?
c. will the entire class instance of the BroadcastClient from the SO get
to the flash client when a SO sync happens or should I set a raw object in
the SO value field?
Sorry if this looks weird but I still work at understanding the room scope
thingy. And I did some FMS dev but I'm new to Java.
Thanks for any hints on the above,
More information about the Red5