
Can JWPlayer fallback to HTTP streaming (VOD) if the RTMP server is unavailable
I have configured JWPlayer will multiple sources such that it has both RTMP (flash) and HTTP URL's. The RTMP url's point to a WOWZA media server while the HTTP URL's point to NGINX. I want the playback to be done via RTMP preferably, but if the RTMP server is unavailable then can it pick the next URL from the source list?
In addition, my understanding is that if the RTMP URL is not playable on a device (e.g. IPAd), it will automatically fallback to the http url? Is that correct?
E.g Here are asome of the URL's that I use
'rtmp://localhost:1935/EmyEd/flv:/secured/videos/lnora/72/5e0/9a2-011c-4421-9e38-ba34ac89ac08.MPG',
'http://localhost:8090/secured/videos/lnora/72/5e0/9a2-011c-4421-9e38-ba34ac89ac08.MPG,
'rtmp://localhost:1935/EmyEd/flv:/secured/videos/lnora/72/5e0/9a2-011c-4421-9e38-ba34ac89ac08_playback.flv',
'http://localhost:8090/secured/videos/lnora/72/5e0/9a2-011c-4421-9e38-ba34ac89ac08_playback.flv
In the above example, I am assuming that if the RTMP server is unavailable, it would fallback to the second url. Again if the second video format (mpg) is not supported, it will fallback to the third url, which is again RTMP. Since the RTMP server is unavailable, it will fallback to the final URL.
Will it work? From what I have observed, if the first url is not reachable, then it throws an error indicating the server is unavailable and does not try to fallback to the other sources.