Question
Automatic users placement
Hello,
I am currently developping a program for my company, using flash media server.
I managed to get most basics by myself, but there is a problem I don' know how to take care off.
In the application we are developping, there are two different swf files : one for admins, and one for users. Those two swf connect to the same instance of the program.
The idea is that the admin is the master of a 30-people video chat room (a "room" corresponding to an instance).
The behavior we would like to reach is the following :
- When a user connects throught the "admin" swf, it should create a new room (=instance) moderated by this user.
- When a user connects throught the "user" swf, it should connect as user to the room (=instance) with the least people in it.
I don't really know I should code this, I thought some solutions already, but all of them have problems and are not really satisfying (such as connecting succescively to all rooms).
I was wondering how I could get information about the instances and the users inside in server-side script, in order to create a server-side program that could tell users in which instance to connect.
This program could either run in a separated instance of the same application, or even better, as a separated application.
Thank you for your help
I am currently developping a program for my company, using flash media server.
I managed to get most basics by myself, but there is a problem I don' know how to take care off.
In the application we are developping, there are two different swf files : one for admins, and one for users. Those two swf connect to the same instance of the program.
The idea is that the admin is the master of a 30-people video chat room (a "room" corresponding to an instance).
The behavior we would like to reach is the following :
- When a user connects throught the "admin" swf, it should create a new room (=instance) moderated by this user.
- When a user connects throught the "user" swf, it should connect as user to the room (=instance) with the least people in it.
I don't really know I should code this, I thought some solutions already, but all of them have problems and are not really satisfying (such as connecting succescively to all rooms).
I was wondering how I could get information about the instances and the users inside in server-side script, in order to create a server-side program that could tell users in which instance to connect.
This program could either run in a separated instance of the same application, or even better, as a separated application.
Thank you for your help
