Hacker News new | ask | show | jobs
by electrotype 1373 days ago
Could you make it play online streams? Examples: https://legacy.radioparadise.com/rp_2.php#name=Listen&file=l...
2 comments

The main challenge is CORS. For EQ/Balance/Visualization, Webamp needs access to the actual byte-stream which requires special permissions be granted in the HTTP headers by whoever is running the stream.
To get around CORS you have to run the stream via a proxy from a place that will allow requests from the domain you are hosting it from. Or the origin stream has to allow the domain directly.