#343: Dynamic creation of outputs
-------------------------+--------------------------------------------------
Reporter: lukas | Owner: mrpingouin
Type: Feature | Status: new
Priority: 3 | Milestone: 1.0
Component: Liquidsoap | Version: 0.9.1+svn
Resolution: | Keywords: server telnet icecast output source
Mac: 0 | Linux: 1
Netbsd: 0 | Other: 0
Freebsd: 0 |
-------------------------+--------------------------------------------------
Changes (by mrpingouin):
* owner: admin => mrpingouin
* type: Bugs => Feature
* milestone: => 1.0
Comment:
Congratulations for going this far, Lukas. Unfortunately, what you're
trying to do isn't really meant to work at all currently (even on SVN) but
it's my plan to eventually support it (on SVN). What happens is that when
outputs are created they get added to a list. When streaming starts (the
"root" thread) outputs from that list are all initialized, then a loop
repeatedly makes them output stuff. In your example, the dynamically
created output gets added to the list but the root thread is already
started, so it's not initialized. By "chance", the streaming loop tells
that new output to do its magic, but it's surprising it doesn't fail more
badly because the output is uninitialized.
If you switch to SVN, there's a good chance that I can make some changes
that at least get your example working in the second half of April (I'll
be pretty busy till then). Eventually, the plan is to also support
unregistering outputs. A question is whether/how to support dynamically
creating clocks (a new concept on SVN).
--
Ticket URL: <http://savonet.rastageeks.org/ticket/343#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac