[Red5] (no subject)
Kalr Mertens
karl.mertens61 at web.de
Tue Jun 16 15:36:20 PDT 2009
i invoke a client method with a scheduled job, it sends a customObject wich is a instance of the "Positions" Class
(Hibernate loads informations inside the Instances of this class from Table Positions)...
the client responses with its "Positions-Object" and rhar each 150 ms (its the timer for updating all clients with current informations about the other users)
what i suggested was to let Red5 do the synchronisation, so userA changes its position x/y in the client(a game) the client only changes its copy of its own
"Positions-Object" and these changes would apply to all other clients that have a copy of userA's (Positions-Object),
like the synchronisation feature in sharedObjects
> -----Ursprüngliche Nachricht-----
> Von: "Tyler Kocheran" <rfkrocktk at gmail.com>
> Gesendet: 17.06.09 00:26:12
> An: red5 at osflash.org
> Betreff: Re: [Red5] (no subject)
This doesn't seem very specific. What do you mean by synchronizing
> the objects? You're able to send them back and forth just fine, right?
>
>
> On Tue, Jun 16, 2009 at 3:23 PM, Kalr Mertens <karl.mertens61 at web.de>
> wrote:
> this is what works in flex and not in flash(CS3 AS3 for FP Version 9),
>
> because the writeExernal will do a "reached end of code" (or
> somethiing like that it was) error on the flashClient side,
>
> i tried it short after you put it on the blog, i downgradet the code
> and it will work if you only uses int as type:)
> any other type will produce this error (when i tried with red5
> version 0.7 i think it was... like u wrote somehow 1 year ago)
>
> for me the objects are send and received well without externalize
> them,
> i just whanted to add the synchronisation feature:)
>
> > -----Ursprüngliche Nachricht-----
> > Von: "Mondain" <mondain at gmail.com>
> > Gesendet: 17.06.09 00:01:27
> > An: red5 at osflash.org
> > Betreff: Re: [Red5] (no subject)
>
> Is this what youre looking for?
> > http://gregoire.org/2008/09/12/using-custom-objects-in-amf3-with-
> red5/
> > This is almost a year old..
> >
> > Paul
> >
> > On Tue, Jun 16, 2009 at 2:30 PM, Kalr Mertens <karl.mertens61 at web.
> de>
> > wrote:
> > hm iam afraid, no one has an example for implementing serializarion
> > to a custom object...
> >
> > i think i better stay with invoke :) also it will not deliver the
> > same bugs an sharedObjects does:)
> >
> > greetz
> > ____________________________________________________________
> > Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> > Jetzt freischalten unter http://movieflat.web.de
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> > --
> > http://gregoire.org/
> > http://code.google.com/p/red5/
> > http://code.google.com/p/blue5/
> > _______________________________________________ Red5 mailing list
> >
> > Red5 at osflash.orghttp://osflash.org/mailman/listinfo/red5_osflash.org
>
> ____________________________________________________________
> Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
> --
> And do this, knowing the time, that now it is high time to awake out
> of sleep;
> for now our salvation is nearer than when we first believed.
> _______________________________________________ Red5 mailing list
>
> Red5 at osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
___________________________________________________________________
WEB.DE FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und
Telefonanschluss für 17,95 Euro/mtl.! http://produkte.web.de/go/02/
More information about the Red5
mailing list