问题
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?
回答1:
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.
来源:https://stackoverflow.com/questions/21682231/soundcloud-track-stream-url-not-working-for-some-of-the-tracks