playcanvas / playcanvas/engine
IOS force play audio even with mute switch toggled
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16.8k
- Forks
- 2k
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 222
Description
Not 100% sure if we want this functionality but seems to be used on sites like YouTube and Spotify.
Using this library https://github.com/feross/unmute-ios-audio with a small update (webkitAudioContext is now replaced with AudioContext), this allows us to play audio even with the mute switch toggled.
See example project: https://playcanvas.com/project/989428/overview/ios-force-audio
Maybe it can be an option in Application and from project settings?
Contributor guide
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.
Research direction
Start with the linked example project and the unmute-ios-audio library, including its AudioContext update. Clarify whether the behavior belongs in Application or project settings and what supported configuration and iOS behavior would count as done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100