TL;DR We'll add real multi-CDN failover to an HLS stream without any client-side URL-rewriting hacks. You'll author a multivariant playlist with two pathways, build a ~40-line Express steering server that returns a JSON steering manifest, point hls. js at it, then flip CDN priority live and watc...
Source: [Dev.to](https://dev.to/masonwritescode/build-multi-cdn-failover-with-hls-content-steering-hlsjs-and-a-40-line-server-1l8i)