Sorry, I would have said:<br><br>static void close( UsageEnvironmeng &env<span style="text-decoration: underline;"></span><a href="http://www.live555.com/liveMedia/doxygen/html/vobStreamer_8cpp.html#dfa09dd3866fd8ba8ab69586f9437d19" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
</a>, char const *mediumName)<br><br><br><div><span class="gmail_quote">2007/4/13, Ramon Martin de Pozuelo <<a href="mailto:rmpg2001@gmail.com">rmpg2001@gmail.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;">
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 <a href="http://www.live555.com/liveMedia/doxygen/html/classMedium.html#65c5be413944712f682c95c9bb59f3d3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
close</a> (<a href="http://www.live555.com/liveMedia/doxygen/html/classUsageEnvironment.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">UsageEnvironment</a> &<span style="text-decoration: underline;">
<span style="text-decoration: underline;">env</span></span>, char const *mediumName)<br><br>but I don't undestand what'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 <<a href="mailto:rmpg2001@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rmpg2001@gmail.com</a>>:</span><div><span class="e" id="q_111ea31b8ab4337e_1">
<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 <<a href="mailto:finlayson@live555.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">finlayson@live555.com</a>>:
</span><div><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/" 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></span></div></div><br>
</blockquote></div><br>