That sounds a lot more like the type of problem that the google hires math prodigies to solve.
No, it’s not that tough a problem. It’s really just a scalability challenge. Phoenix has proven itself capable of handling mad amounts of connections. Serving media is a backend problem, and we all know how easy it is to scale an Erlang cluster. Managing connections for streaming and downloading are very temporal concerns and OTP’s sweet spot. I don’t think it would even be that much code.
Just makes me wonder why no one else has tried it yet?
Who said that no-one tried that? There is RadioKit who are authors of the Membrane Framework which does exactly what @oldpond tries - processing streamed data on-the-fly.
You can share songs on spotify via a link on Android or iOS. And I believe third party apps allow embedding.
…but you can’t listen to them unless you have a Spotify account? (At least I couldn’t to the one posted above.)
On Soundcloud or youtube you don’t need an account to listen/view