Hi,

Sorry for the late reply, I've been really busy these days.

I'm glad on_blank() eventually worked; the trick is to set up the
right levels. You made an interesting observation: it allows you to
call a handler when there is too much blank, but does not give you the
possibility to call one when blank stops. We could add this easily
(the only question is, which parameter names).

However, I suspect there might be a other solutions I'm not sure what
you're precisely trying to do, but I'll assume you want to stream jack
to icecast except during silence.

I have two solutions, both use strip_blank(), which creates track,
cutting out the silence.
 (1) Create a fallback([strip_blank(jack),blank()]) with transitions
that call icecast.start/stop. The other source in the fallback can be
anything, it won't be played through icecast.
 (2) The second will work soon: directly stream the stripped source in
fallible mode output.icecast.vorbis(fallible=true,strip_blank(jack)).
The fallible mode is arriving these days, currently only available for
file outputs, but it's a matter of little time: the idea is that the
operator simply starts/stops automatically when there is/isn't a track
to play from the source.

That was terse, but I hope it helps.
-- 
David

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to