I had thought about (the fact that it could be developed purely
client-side), and I guess that depends on how the server works by default.
The problems I ran into w/ SmartFoxServer were that it insisted on sending
ALL room variables to every client each time one (variable) was updated.
That didn't make sense, in my opinion, and the only way around it was to
write an extension.  However, that required purchasing their Pro version, of
which I couldn't even get the development trial installed; so I moved on.
Red5 seems like it has so much more potential anyway ;)

 

So, if I could create scopes/rooms and set up variables using all
client-side code, that'd be awesome.  And then for a client to get the full
list of variables only once (when entering a room) and just receiving
updates, one at a time, from that point on-that would be ideal.

 

And thanks for the offer to develop.  Unfortunately, this is a project for
my day-job :)

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Dominick Accattato
Sent: Wednesday, November 29, 2006 5:29 PM
To: [email protected]
Subject: Re: [Red5] need some basic guidance starting a new app

 

well, the thing is.... and maybe your not aware of this so I'll mention it..

such a simple application could... keyword being "COULD"  be built without
any serverside development besides making sure you have a default app setup
on server. 

Most of your development will be clientside with what your asking for, so
don't get too caught up on the java stuff.

Last, if you have money :) <-- I'll build you your app. hehehhe and you can
learn from it :) 

Please don't take that last sentence as a jab to your intelligence.. I'm
just a dev who's willing to work for food! :)

On 11/29/06, Corky Brown <[EMAIL PROTECTED]> wrote:

Ok, thanks Dominick.  I actually did watch your video(s) before, and they
helped me get my feet off the ground.  I guess the hangup is on the java
end, not the flash.

 

  _____  

From: [EMAIL PROTECTED] [mailto: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] On Behalf Of Dominick Accattato
Sent: Wednesday, November 29, 2006 5:15 PM


To: [email protected]
Subject: Re: [Red5] need some basic guidance starting a new app

 

ahh well if your new at this.. thats another thing..  I highly suggest you
take a look at my video
http://www.newviewnetworks.com/nvnHome/blog/client/index.cfm/2006/10/21/Red5
-Video-Tutorial-Basic-Example 

if the video doesn't load.. just close the window and reopen.. 

Anyway, just take a look at how I synchronize text from one box to
another...  this is the same type of approach you will take with the
objects.. 

On 11/29/06, Corky Brown <[EMAIL PROTECTED]> wrote:

No, that does help tremendously.  I really just need to get in the mindset
of all of this and then I'll grasp it.  Like I said before, I'm kinda new to
some of these concepts.  I'll start trying what you suggested and let you
know how it goes.  Thanks!

 

  _____  

From: [EMAIL PROTECTED] [mailto: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] On Behalf Of Dominick Accattato
Sent: Wednesday, November 29, 2006 4:56 PM
To: [email protected]
Subject: Re: [Red5] need some basic guidance starting a new app

 

awwe don't feel that way.  The list is jumpin.... I guess the only reason I
didn't reply was because I wasn't sure how much you would get from the
information I'll provide.. Theres many ways to approach this.

User logs into default room.  <-- just connect to default application 
Gets a list of rooms <--- you can provide a static list of rooms in a shared
object
the sharedobject of the list of rooms basically will be an associative array
holding netconnection uri's of the rooms

O nce in a room, the user recieves the positions for all the objects, a
recieves updates for the positions when objects are moved. 

so if there is a square, circle, and triangle in the room.. create three
slots in a sharedObject called roomObjects.  each slot contains the
coordinates.  

Then when those objects are dragged, you can just set the coordiantes of the
sharedobject slot and the synch will happen for all users in the room.  

You can check out my example in the red5 distrobution called
DevNotes_Connection...  It has all the sharedobject code and connection
code.. 

Again, not sure if any of this helps.

On 11/29/06, Corky Brown <[EMAIL PROTECTED]> wrote:

Nobody wants to help me????  Please?

 

  _____  

From: [EMAIL PROTECTED] [mailto: <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] On Behalf Of Corky Brown
Sent: Tuesday, November 28, 2006 12:21 PM
To: [email protected]
Subject: [Red5] need some basic guidance starting a new app

 

Hi everyone, thanks for creating a great server.. its just what I'm looking
for!  Only problem is, I'm fairly new to Java.  You guys have done a great
job providing the API, and there are some pretty good examples out there to
learn from, but I've kinda hit a wall.

 

I'm creating a game (which I had working w/ the SmartFoxServer, but they
wanted too much $$$) where users share objects in a room that can be dragged
around.  I'm able to connect to the server, etc, and run some methods I've
written, but I run into problems when trying to work w/ the Red5 API.  

 

Basically, here's the order of events for a user:

-          Logs in to the server anonymously.

-          Joins a default room.

-          Has the ability to get a room list and switch rooms.

-          Once in a room, the user recieves the positions for all the
objects, a recieves updates for the positions when objects are moved.

 

I've already decided that I will simply send coordinates when a position is
updated, rather than do it in (close to) real-time, for speed reasons.

 

Now, I'm not asking for you guys to write the program for me :-)   I simply
thought if someone would be willing to push me in the right direction, I
could probably figure it out from there.  I guess my issue is, I have no
idea how to call the functions I need that are in the API.  I can see that a
'scope' is what I should use for rooms, and I can create scopes, but I
cannot access some functions and onResult returns 'null'.  I started w/ the
examples and used the ApplicationAdapter class..

 

Ok, I'll stop there before I confuse you w/ my confusion :-)   Help, please?



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




-- 
Dominick Accattato, CTO
New View Networks
www.newviewnetworks.com 


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




-- 
Dominick Accattato, CTO
New View Networks
www.newviewnetworks.com 


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org






-- 
Dominick Accattato, CTO
New View Networks
www.newviewnetworks.com  <http://www.newviewnetworks.com> 

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to