Long streams return RTMP that fail on Chrome
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- audio-video-rtc
Research direction
Start with audiomanager.js and compare its Flash detection with the behavior described for tracks longer than 60 minutes in Chrome 50. Use the linked issue comment as context, then reproduce a long-track stream and verify that seek() and pause() no longer trigger the reported exception.
Written by the indexing model from the issue text.
Description
It seems that any stream() referencing a track resource longer than 60 minutes uses RTMP rather than HTTP, on Chrome 50 while tracks < 60m use HTTP as expected. With these longer tracks the Flash stream is loaded without error but when manipulating it with seek() or pause() the following error is thrown.
"Error: Error: An invalid exception was thrown. at Error (native) at i.setVolume (https://connect.soundcloud.com/sdk/sdk-3.0.0.js:12:8154) at i.setVolume (https://connect.soundcloud.com/sdk/sdk-3.0.0.js:8:19529) at Function.k.extend.toggleMute (https://connect.soundcloud.com/sdk/sdk-3.0.0.js:13:19990) at Function.r [as setAudioManager] ....
Bypassing the Flash detection in audiomanager.js rescues for these long tracks on Chrome. See https://github.com/soundcloud/soundcloud-javascript/issues/39#issuecomment-207823313
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from soundcloud/soundcloud-javascript
-
Dependency Dashboard Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
soundcloud/soundcloud-javascript#90 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in soundcloud/soundcloud-javascript
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·