[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Getting the IOChannel working for RTMP

From: strk
Subject: Re: [Gnash-dev] Getting the IOChannel working for RTMP
Date: Wed, 24 Mar 2010 20:16:48 +0100

On Wed, Mar 24, 2010 at 11:59:58PM +0530, George Thomas wrote:
> > >Right, it is not right.
> > >IOChannel is just an interface.
> > >What it does internally is up to each and every implementation (subclass).
> > >We do have implementations that use a cache (curl and noseek_fd)
> > >but those are specific to curl and one-way streams.
> >
> >
> So this class has to be made in the netconnection itself.. rite?
> And then override any virtual funcions that are present over in IOChannel.
> Any suggestions on the methods in IOChannel we should be thinking about.

The RTMPIOChannel doesn't necessarely need to be in NetConnection_as.cpp,
but that might be a good place to start experimenting with it.
You'll want to implement ::read, ::seek ::eof ::tell ...
well the more you do the better it is. ::size I guess will be hard,
but hopefully not needed.


  ()   Free GIS & Flash consultant/developer

reply via email to

[Prev in Thread] Current Thread [Next in Thread]