Skip to content

8.5.4: BADGERS-535: publish error when segment download fails on final CDN (#347)

Compare
Choose a tag to compare
@tvr-buildatron tvr-buildatron released this 11 Sep 07:46

📺 What

Publish errors when segment downloads fail, and there is only one available CDN remaining (none left to failover to).

This prevents the player from entering an infinite buffering state where segments aren't being requested and the CDN isn't failing over, instead forcing the player to fatal error.

🛠 How

Only ignores DOWNLOAD_CONTENT & DOWNLOAD_INIT_SEGMENT errors when there is more than one available CDN remaining; otherwise we publish the error.