Hi!

2012/4/1  <[email protected]>:
> I'm trying to get flows operational, but I'm having a problem with
> 'stream' parameter. Does this need to refer to anything previous in the
> liq code? Originally, I used 'radio' but received an error message that it
> did not reference anything. It might be that I had placed the flows code
> below my output.icecast(%mp3),...) in the liq. Is this correct?
>
> stream = register_flow(
>   radio="Rural Catholic Radio",
>   website="http://RuralCatholicRadio.com/";,
>   description="Classic Roman Catholic prayers, meditations, and music -
> 32/64/96/128 kbps mp3",
>   genre="Christian, Catholic, Prayers, Music, Meditations, Religious",
>   user="*******",
>   password="********",
>   
> streams=[("mp3/32k","http://ruralcatholicradio.com:8004";),("mp3/64k","http://ruralcatholicradio.com:8008";),("mp3/64k","http://ruralcatholicradio.com:8008";),("mp3/96k","http://ruralcatholicradio.com:8012";),("mp3/128k","http://ruralcatholicradio.com:8010";)],
>   radio)

This should be clarified in the documentation but I think that your
problem is the following: You need to use (consume) the source
returned after registering to flows for it to work..

So, for instance, this will not work:

s = (...)

output.icecast(...., s)

s = register_flow(..., s)

The reason is that register_flow must "see" data .. err.. flowing
through to function.. So you need to consume from the result, by
making sure that is is used in an output.. So the following will work:

s = (...)

s = register_flow(..., s)

output.icecast(...., s)

In this case, the result of calling register_flow is indeed plugged
into an output..

Hope this helps,
Romain

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to