SoundCloud track.stream_url not working for some of the tracks

被刻印的时光 ゝ 提交于 2019-12-12 08:01:21

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!