[Live-devel] Stop Playing

Ross Finlayson finlayson at live555.com
Thu Apr 12 01:54:06 PDT 2007


>One of this commands has to stop streaming and then delete session. 
>I would like to know what is the best way to do that. I proved to 
>use VideoSink->stopPlaying() but I see this is a private void, so I 
>thought I wasn't going by the right way.

No, calling "stopPlaying()" is correct.  If you cast your 'sink' 
object (pointer) to a "(MediaSink*)" before calling "stopPlaying()", 
you'll be able to do this.
-- 

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


More information about the live-devel mailing list