[Live-devel] new to Live555, seeking info and advice

Ross Finlayson finlayson at live555.com
Wed Jul 8 06:30:28 PDT 2020



> On Jul 9, 2020, at 1:20 AM, Blake Senftner <bsenftner at cyberextruder.com> wrote:
> 
> Q1: Does anyone know of or have their own Live555 tutorial, blog or related resource to learn this code base better? Any books?

No.  As described in our FAQ (which everyone is asked to read before posting to the mailing list :-), all of our documentation is online:
	http://live555.com/liveMedia/faq.html#doc


> The specific reason my employer is looking at the Live555 libraries is to create or locate or buy software that accepts video files, and RTSP streams them as it if were an infinite stream, looping the frames transparently as if the frame source were infinite. We want this to simulate the IP video environments of our larger clients, who may have dozens to hundreds of IP security cameras at, for example, a research campus.
>  
> I have investigated this need, locating a few posts at Live-Devel asking how to modify the Live555MediaServer to infinitely loop a video file.
> From http://lists.live555.com/pipermail/live-devel/2012-August/015723.html I read:
>  
> > An other behavior we would like to control using arguments is the availability to loop on the source file (I means without closing the RTSP session).
> > Could you advise us, how to looping on the file source when end is reached.
>  
> The best way to do this is to write your own "FramedSource" subclass that presents the illusion of a single, continuous stream of data - i.e., by automatically reseeking to the front of the file (or closing/reopening it) whenever the end of the file is reached.  Then use this subclass in a new "OnDemandServerMediaSubsession" subclass (that you would also write).  That way, none of the other server code would need to change - it would act just as if the data source happened to be infinite.
>  
> Q2: is this advice still accurate?

Yes, though it has been updated with this more recent response
	http://lists.live555.com/pipermail/live-devel/2019-August/021266.html
to a similar question, along with this follow-up
	http://lists.live555.com/pipermail/live-devel/2019-August/021268.html
(Though you should not modify the existing LIVE555 code; see http://live555.com/liveMedia/faq.html#modifying-and-extending )


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




More information about the live-devel mailing list