How has soundcloud hidden the URL of streaming audio

前端 未结 3 406
星月不相逢
星月不相逢 2020-12-13 01:23

I am trying to hide the URL of my audio streams for my HTML5 player and was really struggling to think of a way to do so and then I realised, soundcloud must hide the URL\'s

3条回答
  •  我在风中等你
    2020-12-13 01:28

    If you goto SoundCloud.com and open up your debugger (Chrome is what I'm using). Look at the "Network" tab and you'll see a script calling audio?anonymous_id#########.

    This is structured like a REST call, meaning they pass an id to a service on their backend, and that returns the audio output anonymously.

提交回复
热议问题