Hi,<br>I resolved it, but it still send RTCP packets from this session so I tried to close session. I thought using:<br><br>static void&nbsp;<a class="el" href="http://www.live555.com/liveMedia/doxygen/html/classMedium.html#65c5be413944712f682c95c9bb59f3d3">
close</a> (<a class="el" href="http://www.live555.com/liveMedia/doxygen/html/classUsageEnvironment.html">UsageEnvironment</a> &amp;<a class="el" href="http://www.live555.com/liveMedia/doxygen/html/vobStreamer_8cpp.html#dfa09dd3866fd8ba8ab69586f9437d19">
env</a>, char const *mediumName)<br><br>but I don&#39;t undestand what&#39;s mediumName variable. <br><br>Is it the best way to close my session?<br><br>Thanks in advance,<br><br>Ramon<br><br><div><span class="gmail_quote">
2007/4/12, Ramon Martin de Pozuelo &lt;<a href="mailto:rmpg2001@gmail.com">rmpg2001@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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 &lt;<a href="mailto:finlayson@live555.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">finlayson@live555.com</a>&gt;:
</span><div><span class="e" id="q_111e550cdb6761ff_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;One of this commands has to stop streaming and then delete session.<br>&gt;I would like to know what is the best way to do that. I proved to<br>&gt;use VideoSink-&gt;stopPlaying() but I see this is a private void, so I
<br>&gt;thought I wasn&#39;t going by the right way.<br><br>No, calling &quot;stopPlaying()&quot; is correct.&nbsp;&nbsp;If you cast your &#39;sink&#39;<br>object (pointer) to a &quot;(MediaSink*)&quot; before calling &quot;stopPlaying()&quot;,
<br>you&#39;ll be able to do this.<br>--<br><br>Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.live555.com/</a>
<br>_______________________________________________<br>live-devel mailing list
<br><a href="mailto:live-devel@lists.live555.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote>
</span></div></div><br>
</blockquote></div><br>