2012/2/19 John Paul Morrison <[email protected]>:
> So you think an icecast2 server could directly open external http sources
> and handle the transcoding with/without liquidsoap?
>
> I thought output.harbor() initiated a connection to another server.
> Is there some way for liquidsoap to implement a simple http server?
No, I meant not using icecast at all, because you need liquidsoap for
transcoding (and possibly other things) and it's annoying to setup
hooks on one end (icecast) for controlling the other end (liquidsoap).
To clarify, an icecast-compatible source client can send directly to
an input.harbor() in liquidsoap. Moreover, an icecast-compatible
listener client can connect directly to an output.harbor() in
liquidsoap.
> single() does too much error checking on the file so if I do:
> mkfifo /tmp/shairtunes.pcm
> then run liquidsoap with:
> s = single("/tmp/test.pcm")
In fact I now see what's wrong with this approach. Liquidsoap first
reads the data for checking it, but then the data is gone when time
comes to play it for real. Therefore the request model really can't
work with pipes. Still, we should be able to do more than what we
currently have, avoiding dd, allowing the decoding of other formats
than PCM if a mime-type is passed, etc.
Cheers,
--
David
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users