Hi
I'm using liquidsoap to transcode from an AAC http source for an audio/video
receiver. This is working amazingly well, and was so easy to setup!
Now I'm trying to optimize, and wondering if there's a way liquidsoap can
disconnect the http source when there are no listeners, to save bandwidth/cpu
etc. and restart the source when a listener connects.
This is what I'm doing now:s =
mksafe(input.http("http://aac-source/",autostart=true))output.icecast(%mp3,host="localhost",port=8000,password="hackme",fallible=true,mount="mp3",s)
I don't know enough about icecast - is there a callback from the that could
signal no listeners?
All I could think of was to write a shell script and out output.file or
output.external and start it though inetd but this seems really kludgy.
I'm also using liquidsoap with shairtunes to add Airplay support to the AVR.
input.external with dd (cat doesn't seem to work properly) reading from a named
pipe is doing the trick. It would be great if there were a way to use single()
to read from a named pipe instead of mksafe(input.external("dd if=/tmp/pcm")).
thanks
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users