On Tue, Jul 7, 2009 at 10:36 AM, Jean-Francois Mauguit<[email protected]> wrote: > input2 = on_metadata(fun (meta) -> system("[curl ...]"),input2) > > before my icecast output could be the cause of some mix problems ? In > fact this http request takes less than one second. Should I use set > ("scheduler.fast_queues",1) to avoid the problem ?
This was not related but is still a potential problem. On_metadata() calls its function directly in the main thread, so a long system() call can potentially create some lag in streaming. A simple solution is to add a "&" at the end of the command so the shell will execute it in the background. Otherwise, a more general solution would be to schedule a task to be ran in the task threads -- without doing it explicitly, the parameters about the queues won't change anything. -- David ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
