Hi Peter,

As you might suspect, it's hard to distinguish a short term failure
from a real unavailability, and it certainly can't be done at the
level of a fallback. Pretty much the only place to do this is when
setting buffering parameters.

I think you already know that and your goal is realistic:

> If net1 fails net2 gets active and master, if available.
> If net1 comes up again, net2 stays master and continues playing.
> If net2 fails net1 wll be come active and master, if available.

What you want here is simply a track sensitive fallback between net1
and net2. As long as one of them is up and running, it should keep
playing. If both fail, we go to fallback_net_outage. So you could
simply set track_sensitive=true (the default) if I understand your
needs correctly.

I suspect you also want the outage source to stop playing as soon as a
network comes back, in which case there is a track insensitive switch
around a sensitive one:

radio = fallback(
        track_sensitive=false,
        [
            fallback([net1,net2]),
            fallback_net_outage
        ])

Cheers,
-- 
David

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to