Ho configurato il flowplayer per poter cercare di sintonizzarsi su diversi indirizzi host che trasmettono una WEB TV in live.
In pratica tenta di connettersi al primo host rtmp, se esso non trasmette tenta di connettersi al secondo host rtmp e così via finché o trova un canale che trasmetta oppure finisce l'elenco degli hosts e quindi si arrende.

Ho scoperto però un insidioso bug che avviene con certi stream rtmp (sembra Wowza Media Server). Se fallisce il primo host non passa al successivo.

Ho cercato un workaround e sembra che se setto loadBalancing a true il bug non si verifica.

Qualcuno ha affrontato tale problema e lo ha risolto? Riporto un codice di esempio:

codice:
flowplayer("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.16.swf", {
 
    clip: {
        // for FMS we don't use the file extension here
        url: 'Extremists',
        provider: 'rtmp',
 
        // the clustering plugin is configured as a connectionProvider
        // when used with RTMP
        connectionProvider: 'clustering'
    },
 
    plugins:  {
        // we don't need the netConnectionUrl here because it is
        // taken from the hosts array of the cluster
        rtmp: {
             url: "flowplayer.rtmp-3.2.12.swf"
        },
        clustering: {
            url: "http://releases.flowplayer.org/swf/flowplayer.cluster-3.2.9.swf",
            netConnectionUrl: 'rtmp://cyzy7r959.rtmphost.com/flowplayer',
 
            // Our hosts array contains the netConnectionUrls to the servers
            hosts: [
                {host:'rtmp://cyzy7r959.badhost1.com/flowplayer'},
                {host:'rtmp://cyzy7r959.badhost2.com/flowplayer'},
                {host:'rtmp://cyzy7r959.rtmphost.com/flowplayer'}
            ]
        }
    }
});