[Live-devel] RTSP unicast from circular buffer

Ross Finlayson finlayson at live555.com
Thu Nov 25 02:11:23 PST 2010


>I'm new to the Live555 which I want to use in my project. My
>requirement is to stream video (H.264/AAC in TS) over the RTSP
>unicast. The video continuously comes in (like live) and is captured
>into circular buffer (either in memory or on hard disk). I check out
>the "testOnDemandRTSPServer" sample. But it takes in a single file.
>How can I do it with multiple files in a circular fashion or with
>circular buffer in memory?

You would need to write a new input source class (a subclass of 
"FramedSource"), and a new "ServerMediaSubsession" class.  This would 
be similar to the existing "MPEG2TransportFileServerMediaSubsession" 
class, but would use your new input source class rather than 
"ByteStreamFileSource".
-- 

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


More information about the live-devel mailing list