Hi all,<br>I have an application that streams broadcast H.264 video. I have a thread that is waiting for commands and it changes the watchVariable (&quot;env-&gt;taskScheduler().doEventLoop(&amp;watchVariable);&quot;), so it outs EventLoop, executes the command the value of watchVariable indicates and then return to EventLoop. 
<br><br>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-&gt;stopPlaying() but I see this is a private void, so I thought I wasn&#39;t going by the right way. 
<br><br>Thanks in advance,<br><br>Ramon<br>