Archived from overdigital.net · View original URL · Published Apr 24, 2012 · Browse all archived posts →

Flash Media Server 4.5.2 Released with Robust HTTP Streaming Failover

Version 4.5.2 of Flash Media Server is now available. Besides numerous bug fixes, it includes a major improvement - robust HDS/HLS failover for origins.                 It's not simply a "good-to-have", but a "must-have" feature for HTTP st

Flash Media Server 4.5.2 Released with Robust HTTP Streaming Failover

Version 4.5.2 of Flash Media Server is now available. Besides numerous bug fixes, it includes a major improvement - robust HDS/HLS failover for origins.

It's not simply a "good-to-have", but a "must-have" feature for HTTP streaming deployments. The key issues it addresses are liveness and dropout situations.

Liveness is a server-side situation in which a packager advertises a stale bootstrap (that is, a stale view of a live stream). Although there are other potential scenarios, the following describes one liveness situation:

1. $1
2. $1
3. $1
4. $1
5. $1

Dropout - is a server-side situation in which a packager has gaps in its bootstrap (that is, gaps in its fragment list). The following scenario describes a dropout situation:

1. $1
2. $1
3. $1
4. $1
5. $1
6. $1

The solution to those fundamental challenges.

Enable best-effort fetch

Best-effort fetch enables the OSMF and iOS video players to continue playback as normally as possible in the presence of short-term liveness and dropout problems on the server-side.

Code the control plane application

To implement HTTP Streaming failover, you write a client application that manages the state of events and streams by using a set of REST-based control plane APIs. Control plane is a router term and in effect, that is what your client application does through these APIs.

The basic workflow is as follows:

- Begin repeatedly checking stream status at a set interval. The exact interval depends on your configuration.
- Disable any stream with a bad status code.
- You could also compare the age of the bootstrap file and disable the stream for which the bootstrap is older than some predetermined interval.  [via [FMS documentation](http://help.adobe.com/en_US/flashmediaserver/configadmin/WS418c3323187a5d5740d39080135d5593e08-8000.html)]

The counterpart on the client side for these features is OSMF 2.0. You can find more detailed information in the FMS failover documentation. HTTP failover is an absolutely critical improvement for HTTP streaming deployments.

ARCHIVE NOTE

This article was originally published on overdigital.net and has been migrated to overdigital.ai as part of our content archive. Some links or embeds may no longer work.

Browse more archived articles