[Live-devel] 答复: Shutdown stream question

詹明 zhanm at join.net.cn
Mon Mar 12 18:13:36 PDT 2012


Thanks for your reply. I will try  it.

 

发件人: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] 代表 Ross Finlayson
发送时间: 2012年3月12日 22:10
收件人: LIVE555 Streaming Media - development & use
主题: Re: [Live-devel] Shutdown stream question

 

  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/20120313/2ad31604/attachment-0001.html>


More information about the live-devel mailing list