[Live-devel] streaming and receiving with circular buffers

Ross Finlayson finlayson at live555.com
Fri May 16 07:04:20 PDT 2008


>What I'm trying to achieve now is to read data to be send from a 
>buffer (server part), and to write it into a buffer (client part). 
>These buffers must be circular buffers,
>as it is usual on set top boxes. So, my question is : What is the 
>simplest way to achieve this (I don't want to use some pipe with the 
>stdout output from a FileSink for exemple)?

Why not?  If you have only a single data stream (e.g., a Transport 
Stream), rather than separate audio and video streams, then standard 
I/O piping would be an ideal way to do this.

>  Does live555 provide some kind of "BufferSink" and "BufferSource" 
>that I haven't figured out yet ?

No.  You would need to write this yourself.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list