问题
I'm streaming music from the soundcloud API, and sometimes when I call SC.stream the track does not stream and I get the error:
"GET http://api.soundcloud.com/tracks/80608808/stream?client_id=78bfc6a742a617082972ddc5ef20df2a 404 (Not Found)"
The GET request works for some tracks and not for others. I cannot figure out why or if there is an issue with the SC API.
He is a replication of my problem on plnkr:
http://plnkr.co/edit/TMVWGg
Thanks!
回答1:
This is because some soundcloud tracks are not streamable via api. You can check this for each track by property "streamable".
来源:https://stackoverflow.com/questions/15194776/soundcloud-api-sc-stream-track-not-loading