wseemann / ServeStream

Streaming Media Player for Android
Apache License 2.0
38 stars 20 forks source link

unable to play iHeart URL with ServeStream #15

Open dhdurgee opened 2 years ago

dhdurgee commented 2 years ago

I have encountered a problem playing an iHeart URL:

https://stream.revma.ihrhls.com/zc4814

When I attempt to open it I get a spinner and Opening URL..., but it never opens.

This is on my Motorola moto e running android 10.

I can play the URL with VLC on the phone, so it seems there is something funny done by iHeart that your app does not cope with.

Thanks for your work on this app.

Dave

dhdurgee commented 2 years ago

I believe I have found the cause of this problem. I was attempting to work with this URL and wound up running curl against it with debugging enabled. It seems the iHeart is using a 302 redirect to provide a replacement URL for the stream. So VLC appears to handle the redirect while ServStream does not.

Please add 302 redirect handling to ServStream to address this problem.