Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SoundCloud track.stream_url not working for some of the tracks

Tags:

soundcloud

I noticed that on some tracks on soundcloud stream_url points to 404 - page not found. The track is set as streamable, but still stream url is not working.

Here is an example: http://api.soundcloud.com/tracks/129894766.json?consumer_key=KEY returns streamable: true, embeddable_by: "all" but: stream_url: "http://api.soundcloud.com/tracks/129894766/stream?consumer_key=KEY" is not working.

Has anyone experienced this and maybe have some solution?

like image 363
cucko Avatar asked Feb 10 '14 16:02

cucko


People also ask

Why are some songs on SoundCloud not available?

If a SoundCloud member does not have the licensing rights to release a track everywhere, they may only make it available within the countries where they have the rights to do so. As a result, the track might not be available in certain regions.

Why does my SoundCloud have a loading error?

On Android or iOS apps Pull down on the screen until you see a spinning wheel to refresh the page, and see if that helps. If not, check to make sure that you are on a stable wifi or 3G connection. If you are still experiencing trouble, please delete and reinstall the app and see if that helps.

What can the SoundCloud API do?

Our API gives you the ability to upload, manage and share tracks. Your app can take an audio file and upload it to a user's SoundCloud account. You can also manage metadata (including tags) or add the track to playlists. We support the following formats: AIFF, WAVE, FLAC, OGG, MP2, MP3, AAC, AMR and WMA.

Does SoundCloud have an API?

To access the SoundCloud® API, you will first need to register your app at https://soundcloud.com/you/apps using your SoundCloud® account. When you've done that, we'll issue you with a client ID and client secret. Your client ID is required for all calls to the SoundCloud® API.


1 Answers

The reason the stream URL isn't working for certain tracks is that they use different streaming protocols (RTMP / HLS). SoundCloud is in the process of updating their SDK's and documentation for this, but the current (2.0) version of the Javascript SDK should fix this issue for now.

like image 67
Marco Avatar answered Jan 03 '23 12:01

Marco