[Live-devel] streaming and receiving with circular buffers

kevin fesselier kevin_fesselier at hotmail.com
Fri May 16 06:09:01 PDT 2008


Hello,

I'm a student in computer science, beginner with the live555 library. I 
have been writing some simple test programs to implement some simple use 
cases such as streaming MP3 or MPEG2TS.
I manage to stream data from a disk on the server, thanks to a 
ByteStreamFileSource, and a SimpleRTPSink, or a HTTPSink.
I manage to receive data on the client, with a SimpleRTPSource, and to 
write it on the client Disk using a FileSink.
Reading data directly with VLC also works fine.

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)? Does live555 provide some 
kind of "BufferSink" and "BufferSource" that I haven't figured out yet ? 
Any Idea ?

Regards,
Kevin.


More information about the live-devel mailing list