awslabs / aws-clustered-video-streams

A clustered video stream is an AWS architecture that increases the quality and reliability of live events by providing seamless regional failover capabilities for live video steams. Operators can monitor the status of the clustered stream from a single pane of glass and dynamically control from which region the stream consumed by a player originates.
Apache License 2.0
42 stars 9 forks source link

SPD: hold-off initial configuration if 0 segment playlists detected #34

Open JimTharioAmazon opened 3 years ago

JimTharioAmazon commented 3 years ago

If the entire playlist hierarchy is down, notify 100% stale (0 fresh, 0 stale), hold off the initial configuration for a few seconds and retry. Once the playlists become available, the SPD will load the configuration and notify again with fresh.

JimTharioAmazon commented 3 years ago

The hold-off time is currently hardcoded to 2500 ms. This can be turned into a variable, or some other kind of increasing back-off time can be calculated.

JimTharioAmazon commented 3 years ago

Also adding here any problem contacting the top-level playlist, including DNS.