#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 |
-------------------------+--------------------------------------------------
Comment(by lukas):
Thanks for your quick reply. I'm trying to understand the code right now.
I'm having a hard time though, as I'm not used to the language...
I found that comment in the 0.9.1 code for the source#get_ready and
source#leave methods, saying they have to be called from the Root thread.
In my understanding, these are the initialization/cleanup methods you
mentioned. Am I right guessing this being the problem?
You mentioned the new concept of "clocks" in SVN. As I get it, they will
replace the "root" thread, and so one would be able to start more than one
"streaming loop". As I read the SVN code, it is not yet possible to create
clocks after startup.
Let me get that concept straight. You fire up liquidsoap, creating the
initial clocks, adding the output sources and finally starting the clocks.
Once the system is running, you can create a new clock from whichever
thread you are in (server thread), add output sources to it, do the
initialization stuff, and start the new clock. When you want to get rid of
it, you simply tell it to shutdown, forcing it to cleanup its sources and
unregister with the system. Do I get this right??
Please tell me, if I can be of any help for the implementation. And keep
up with this amazing project.
-thanks, Lukas
--
Ticket URL: <http://savonet.rastageeks.org/ticket/343#comment:2>
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