Thanks for your response, Ross. Now, my problem is that it breaks down the application. Do you know what could be the problem. Should I close session too, close the source or indicate to the environment that this sink is stopped?
<br><br>Ramon<br><br><div><span class="gmail_quote">2007/4/12, Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>One of this commands has to stop streaming and then delete session.<br>>I would like to know what is the best way to do that. I proved to<br>>use VideoSink->stopPlaying() but I see this is a private void, so I
<br>>thought I wasn't going by the right way.<br><br>No, calling "stopPlaying()" is correct. If you cast your 'sink'<br>object (pointer) to a "(MediaSink*)" before calling "stopPlaying()",
<br>you'll be able to do this.<br>--<br><br>Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a><br>_______________________________________________<br>live-devel mailing list
<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote>
</div><br>