Thanks a lot, David!

You've just opened my eyes! It may be not so clear to understand how, but
in fact it is so. We can add a switch to airtime stream settings telling
script generator whether we're working with video or not and setting a
trivial boolean variable. This var can be used to determine if we should
work with audio only functions or with video-oriented ones.

Your advice about using a kinda filler when video becomes unavailable is
also useful for achieving our goal to add live video streaming to airtime.
I guess, when video will suddenly disappear in stream, liquidsoap can
crash, and a filler would solve that potential issue.



2013/2/21 David Baelde <[email protected]>

> Станислав Ханжин wrote:
> > Much more, we need to call output.icecast with %theora,%vorbis when there
> > is video in stream, and without %theora in case we have only audio.
>
> Ok, I'd like to focus on that for now: you're talking about disconnecting
> when the stream becomes video, reconnecting with %theora, and doing the
> same
> thing in the other direction when you loose video to get back to pure
> audio?
>
> In principle we could do something to allow that, but I never considered it
> seriously because this kind of setup seems quite unpleasant for
> listeners/viewers, unless they're using better client software than I
> know...
> Instead, I would consider an option in airtime to enable video, and add
> blank video (or whatever filler you feel like adding) to the stream when
> no actual video content is available -- note that this may also require
> some
> new operator in liquidsoap, though it seems simpler conceptually.
>
> Cheers,
>
> David
>



-- 
С Уважением,
Станислав Ханжин.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to