I'm using a service for live-streaming videos that provides a link (say https://example.com/video.m3u8) to the relevant file in order to cast it. Following the link manually, I go through a 302 redirect (to e.g. https://anotherdomain.com/video.m3u8), and get to the video file. When I try to cast the link (both chrome & android sender sdk's, the latter through a cordova plugin) I see an error if I use the example.com url, but succeed using the anotherdomain.com url.
I can check for redirects manually before casting, but ideally the default receiver would do that for me. Is this failing on a redirect the expected behaviour? Is there any way to configure it so that it follows redirects?
I'm not sure if the redirect being of the wrong Content-Type (text/html rather than application/x-mpegURL) could be part of the cause