[Live-devel] Shutdown stream question

Ross Finlayson finlayson at live555.com
Mon Mar 12 07:10:21 PDT 2012


>   My input source is a live source from a DVR.  My question is: at my client side, I call shutdownStream() to notify my rtsp server to stop playing the stream.  At server side, where I should put my statement to stop playing my DVR first before I can delete the stream(ie, I have to stop DVR playing first, then delete the stream at server side?).

You should do this in the destructor of your "FramedSource" subclass.  (This destructor should get called automatically when the stream is closed.)


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120312/da0ca260/attachment.html>


More information about the live-devel mailing list