Red5 <> Stratus



  • Can you add a feature that will basically allow the script to switch to Stratus if the Red5 server is unavailable for some reason (or also vice versa) ?



  • The script does switch automatically from Red5 server #1 to backup server #2 and than #3 if the first two are down. If all Red5 servers are unavailable, it is switching to Cirrus. Please check config.php



  • @'JabberCam':

    The script does switch automatically from Red5 server #1 to backup server #2 and than #3 if the first two are down. If all Red5 servers are unavailable, it is switching to Cirrus. Please check config.php

    Thank you for your quick reply. I have seen the Red5 backup servers, but it doesn't seem to switch to Stratus/Cirrus for me when all Red5 servers are unavailable.

    It just stays at:

    18:17:32  Entering. Please stay patient...............
    18:17:32  Bear with us, JabberCam is putting Red5 under fire. Entering might take a while...............
    18:17:32  unable to connect to rtmp://www.mysite.com/aJabberCamApp
    18:17:32  unable to connect to rtmp://www.mysite.com/aJabberCamApp
    

    I've tested it by providing non-working Red5 servers in the config file. Am I missing something? I would appreciate your help.

    Using RVC5.1

    Thank you



  • Let us take a look at this issue



  • @'JabberCam':

    Let us take a look at this issue

    Thank you, will you test on your end or do you require my information?



  • Here is the feature request:

    Flash media server Red5/Cirrus connection messages. $RED5_CONNECT_URL, message:

    a.) 1st server connection successful:
    15:06:32 Bear with us. JabberCam is putting Red5 under fire. Entering might take a while
    15:06:33 Success! Connected to Red5 server #1
    15:06:35 Press NEXT to search for a partner.
    b.) 1st server fails, 2nd connected successfully:
    15:06:32 Bear with us. JabberCam is putting Red5 under fire. Entering might take a while
    15:06:33 Red5 Server #1 down, connecting to next available server ….
    15:06:33 Success! Connected to Red5 server #2
    15:06:35 Press NEXT to search for a partner.
    c.) All servers down:
    15:06:32 Bear with us. JabberCam is putting Red5 under fire. Entering might take a while
    15:06:33 Red5 Server #1 down, connecting to next available server ....
    15:06:33 Red5 Server #2 down, connecting to next available server ....
    15:06:33 Red5 Server #3 down, connecting to next available server ....
    15:06:33 Red5 Servers down swithing to Stratus if available ....
    15:06:34 Success! Connected to Stratus ...

    OR

    15:06:34 Stratus down or not configured. No media server available, exiting ....

    d.) $DEVELOPER_KEY = "ADOBE_DEVELOPER_KEY"; (no developer key)
    ...
    15:06:33 Red5 Servers down switching to Stratus if available ....
    15:06:33 Stratus developer key not found, exiting ....
    *same in case when Cirrus is set as default


    will be included in the next major release


 

Looks like your connection to H7 was lost, please wait while we try to reconnect.