Hi Benjamin,

2011/11/7 Benjamin Klein <[email protected]>:
> Ok the problem is, that i want to reload the config of streams and
> add/remove streams while the server is still streaming to the listener
> without an break.

You can create and destroy a whole stream using liquidsoap now.
However, not everything is possible.

What you can do:
* Receive a telnet/server/harbor HTTP command and create a new source,
a new output and send it to icecast/whatever.
* Receive a telnet/server/harbor HTTP command and destroy one of the
previously created source and output.

What you can do but which is more difficult:
* Receive a telnet/server/harbor HTTP command, create a new source and
switch an existing source to this new source.
For this to work, at the moment your best shot is to internally use
output.icecast and input.harbor to plug the new source to an existing
source configuration. You can use the %wav (PCM) encoder in this case
to avoid compressing/decompressing.

What you cannot do:
* Receive a telnet/server/harbor HTTP command and reload your script
or load an arbitrary script string.

Of course, you have another, more standard, solution, which is to
implement automatic liquidsoap script start/stop using some external
tools, for instance shell scripts etc...

If you are really interested in using liquidsoap to receive commands
and instantiate new dymamic sources, you may want to check with
Martin, whose robinet software is pretty much advanced into this
task..

Romain

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to