<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 25/06/15 10:59, Ross Finlayson wrote:<br>
    <blockquote
      cite="mid:106DC8AD-9B43-485F-9B94-5C374F38FF37@live555.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div>The usual way to do this sort of thing - within the LIVE555
        event loop - is to call</div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>TaskScheduler::scheduleDelayedTask()</div>
      <div>to periodically schedule a task that sends the
        “GET_PARAMETER” command (and then calls
        "TaskScheduler::scheduleDelayedTask()” again).  If you move the
        call to “sendGetParameterCommand()” from the “Demux()” function
        to this new handler task, then that should solve your problem -
        and all LIVE555 functions will continue to be called only from
        the LIVE555 event loop thread, as they should.</div>
    </blockquote>
    <br>
    Yes, that could work, or if there was a regular safe flow of control
    it would be trivial to just have a timer check in the live555.cpp
    code to do it.  The problem in both cases is nothing is calling
    doEventLoop() while the stream is paused...  That's an internal VLC
    issue which I need to discuss with the core devs...<br>
    <br>
    Thanks again<br>
    <br>
    Paul<br>
    <br>
  </body>
</html>