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.

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


_______________________________________________
Gnash-dev mailing list
Gnash-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to