[Live-devel] buffering implementation

hornsby adrian_hornsby at yahoo.co.uk
Thu Dec 15 11:16:46 PST 2005


On Wednesday 14 December 2005 18:34, Ross Finlayson wrote:
> >I would like to know your opinion on buffering the input of i.e testRelay.
> >For example, I want to have a buffer of lets say, 2 GOP more or less, how
> >could I do that in the current implementation.
>
> Sure.  You could easily insert a new 'buffer' filter after the
> "BasicUDPSource" object used by "testRelay".
>
Ross, 
Is the buffer size of any framed source (FramedSource.cpp) define in the 
##CODE##
void framedSource::GetNextFrame(.....) {
...
...
fTo = to ;
...
...
}
##CODE##

so if I implement a new filter base on FramedSource, I can just modify that 
value right ??
thanks


> >  Can I just modify the current buffer (fTo)
>
> Note that "fTo" points to whatever buffer was supplied by the
> downstream object.  (The size of this buffer is given by
> "fMaxSize".)  You can't 'modify' this buffer.  However, if you insert
> your own filter class, it can have its own buffer (of whatever size you
> want).
>
>
> 	Ross Finlayson
> 	Live Networks, Inc. (LIVE555.COM)
> 	<http://www.live555.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

-- 
##################################
http://thisisallaround.freezee.org
##################################

	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com


More information about the live-devel mailing list