Having issues streaming certain tracks with SDK3.0
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- api
Hướng nghiên cứu
Start with the linked playSong() snippet and CodePen, then compare the failing and working track URLs under SDK3.0. Reproduce the Safari request and inspect the reported Accept-Encoding/CORS error to determine whether the problem is in the SDK request or SoundCloud's response. Done means a confirmed cause with an actionable SDK fix or a documented external limitation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi,
after switching from SDK2.0 and using only SC.stream() to SDK3.0 and using resolve to find the ID, certain tracks won't play.
No error messages given, they simply will not play.
Examples of tracks that are not playing:
https://soundcloud.com/dreamchasersrecords/meek-mill-pray-for-em
https://soundcloud.com/gangstagibbs/hot-boys-produced-by-dupri-of-league-of-starz
Examples of tracks that are playing fine:
https://soundcloud.com/kanyewest/nomorepartiesinla
https://soundcloud.com/amirobe/amir-obe-before-the-vomit-produced-by-oz
They were all playing when I was using SDK2.0 and supplying the ID of the song,
Any ideas? Very frustrating!
Thanks.
Edit:
Also made a small codepen showing the issue: http://codepen.io/mariussunde/pen/mVxKPO
Last track does not work
Edit 2:
Safari also gives me these errors;
[Error] Failed to load resource: Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers. (242557602.json, line 0)
[Error] XMLHttpRequest cannot load https://api.soundcloud.com/tracks/242557602.json?client_id=9e05e349251475056d1bc81acbf08c71&secret_token=tracks. Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers.
Now my question here is, is this something I can fix on my own server, or does the issue lie with soundcloud?
- Ngôn ngữ chính
- JavaScript
- Star
- 388
- Fork
- 76
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của soundcloud/soundcloud-javascript
-
Dependency DashboardĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
soundcloud/soundcloud-javascript#90 · 1 reaction ·
-
Get currently playing trackĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của soundcloud/soundcloud-javascript
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
no-human-ai/no_human#659 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Multi-day events show "Ended" while still in progressCó thể đã có người làm @tarunagnihotri534 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
data-umbrella/du-event-board#231 · 2 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
IO.get_env on Node truncates names at embedded NULCó thể đã có người làm @Yi-111-a đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
HigherOrderCO/Bend#1449 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
cryptpad/documentation#162 ·