A few understanding questions...

0 views
Skip to first unread message

etienne

unread,
May 9, 2009, 5:19:07 AM5/9/09
to Jedai, etien...@yahoo.fr
Hello the Jedai group,

I am using your Jedai project (version of Nov 2008) for something like
3 monthes and I still face some issues. Here they are:
1) I have created a mxml component with a "init()" function to start.
In this component, I use the UserList class to get all the users that
are connected. What I would like, when creating my component, is to
get the user UID in the "init()" function. In the UserList, I saw the
"myLabelFunction" in which you get an "item" that is the client
object. There, I achieve to get the User UID in the "UserList" by
calling item.uid.
But unfortunately, the "MyLabelFunction" function is called after my
"init()" function...
My question is then: Is there a way to call the "MyLabelFunction"
function before my "init()" function? Or is there an easy way to get
the current "Client" UID in the "init()" function of my mxml?

2) I try to create a "room" in that following way: a user click on a
button: "create a room" and then other people can go in this "room".
This room must not disconnect all those people from the "main"
application so that people can "join" this room and get out of it
whenever they want, without having to reconnect (no UID change for
those users).
Based on your current "Java server configuration" that I have not
touched yet (I have only worked with flex coding), what could I do to
be able to create a room or several rooms (as much room as there are
users connected to the application)? I'm not really a java coder...I
can try to understand, but am very bad at developping...

3) A comprehension question: I see, in your class "Application.java"
the you have many method which use a Scope parameter (for instance:
connect(
IConnection conn, IScope scope, Object[] params)

, addClient, disconnect...).
My question is the following: Where do you get this scope from? I am
trying to find, in the whole project when you call for the connect
function, in order to find out what this Scope object is...But I have
successed yet (I can start ruuning application in debug mode only for
flex, but not for the Java...). Could you explain me, please, what
this scope is, and when you call it?
In the same way, when I call the Flex NetConnection.connect()
function, I guess you call right after the Java Application.connect()
function, but I cannot find in the whole code where this "call" is
made...Could you enlight me on this, please?

4) I try to create an admin level, in order to be able to get every
one private chat flow (video or chat), to be able to disconnect (ban)
anyone whenever I want, to be able to talk to anyone privately
(without him to refuse), to access to any one files, to get some stats
on the use of the server...To sum up, to make every thing an admin
should be able to do.
But I really don't know how I could do any of those things (specially
on the server side, that I haven't touched at all).
If you have any clue for me or any application that I could use to
enable me to do that, it would be wonderfull.

Thank you for all your answers and do not hesitate to come back to me
if I am not clear enough (that I could anderstand very well).
If you want to see ma code, there is not problem, just tell me, I will
send it to you the way you want.

Thanks a lot for Jedai and all you do on red5, a terrific Job. I wish
I can go forward with it.

Best regards,

Etienne.

Gilles Schlienger

unread,
May 10, 2009, 2:52:16 AM5/10/09
to je...@googlegroups.com
Hi,
from previous messages from the project members, I think that they are going to make many structural changes in the following months once they have more time.
It's up to you, but I would not spend too much time on this version of Jedai since there might be a much better version coming in the following month

Gilles


De : etienne <etienne....@gmail.com>
À : Jedai <je...@googlegroups.com>
Cc : etien...@yahoo.fr
Envoyé le : Samedi, 9 Mai 2009, 11h19mn 07s
Objet : [jedai:137] A few understanding questions...

Jonathan Valliere

unread,
May 10, 2009, 10:59:29 PM5/10/09
to je...@googlegroups.com
Hi,

It is my understanding that huge portions of it have been rewritten by Dominick.  We will let everyone know when the new changes are in place.

Jon
Reply all
Reply to author
Forward
0 new messages