[Red5devs] Initial shared objects working
John Grden
neoriley at gmail.com
Mon Jan 30 12:45:54 EST 2006
:) that'd be technically ".3" as soon as we can figure out where REmoting is
On 1/30/06, Dominick Accattato <daccattato at gmail.com> wrote:
>
> this is so exciting. We need to integrate all of our code and get a new
> complete build or something.
>
> On 1/30/06, John Grden < neoriley at gmail.com> wrote:
> >
> > the dif between persistant and non is that when the last user leaves the
> > app, the SO is destroyed (non).
> >
> > On 1/30/06, Luke Hubbard ( luke at codegent.com) <king.selassie at gmail.com>
> > wrote:
> >
> > > This is really cool. I just played around with it but found a couple
> > > of bugs when there is more than 2 clients which I have fixed.
> > >
> > > 1. Inside ProtocolHandler the packet needed to be aquired before
> > > sending down multiple channels and released after. This allows it to reuse
> > > the same data buffer internally.
> > >
> > > 2. In the protocol encoder the data buffer needed to be flipped after
> > > writing.
> > >
> > > Couple of things to think about.
> > >
> > > - Synchronization in the protocol encoder, since the per packet
> > > data buffer is shared.
> > > - What happens if one of the so clients disconnect. We need to
> > > remove their channel from the so.
> > > - It only seems to work with persistent shared objects, what is
> > > the difference?
> > > - I think we should look into the timer value more carefully. 0
> > > works but what should the normal value of the timer be. I think it should go
> > > up from when the client connected.
> > >
> > > Anyway congrats on getting it working, bring on the next release :)
> > >
> > > -- Luke
> > >
> > > On 1/29/06, Joachim Bauch < jojo at struktur.de> wrote:
> > > >
> > > > Hi Luke,
> > > >
> > > > looks like my first mail got rejected by the mailing list because of
> > > > the
> > > > big attachment, so here is a second try.
> > > >
> > > > Good news - just checked in my changes to the shared object code
> > > > and as you can see in the screenshot on my page[1], the
> > > > sample_notebook
> > > > from the FCS can talk with Red5 :)
> > > >
> > > > If you're interested, the modified files are
> > > > server/context/BaseApplication.java
> > > > server/context/PersistentSharedObject.java (new)
> > > > server/rtmp/codec/ProtocolEncoder.java
> > > > server/rtmp/message/Constants.java
> > > > server/rtmp/message/SharedObjectEvent.java
> > > > server/rtmp/RTMPSessionHandler.java
> > > >
> > > > There are still a lot of rough edges I will look at, but the basic
> > > > code
> > > > works.
> > > >
> > > > Greetings,
> > > > Joachim
> > > >
> > > > [1] http://www.joachim-bauch.de/red5_shared_objects.png
> > > >
> > >
> > >
> > >
> > > --
> > > Google != Do no evil. Big G, I know you read all my emails. What the
> > > hell is going on with the China censorship decision. Have you completely
> > > lost it! If you like me are not happy about this lack of principals email
> > > gblog at google.com and add an angry signature to your gmail.
> > > _______________________________________________
> > > Red5devs mailing list
> > > Red5devs at osflash.org
> > > http://osflash.org/mailman/listinfo/red5devs_osflash.org
> > >
> > >
> > >
> >
> >
> > --
> > John Grden - Blitz
> > _______________________________________________
> > Red5devs mailing list
> > Red5devs at osflash.org
> > http://osflash.org/mailman/listinfo/red5devs_osflash.org
> >
> >
> >
>
--
John Grden - Blitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20060130/2a0c1207/attachment.htm
More information about the Red5devs
mailing list