Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix web audio can't play when unplug earphones #6730

Merged
merged 1 commit into from May 21, 2020
Merged

Conversation

PPpro
Copy link
Contributor

@PPpro PPpro commented May 21, 2020

resolve cocos/2d-tasks#2294

changeLog:

  • 修复 iOS web-mobile 上摘下耳机后 webAudio 无法播放的问题

@PPpro PPpro requested a review from holycanvas May 21, 2020
@PPpro PPpro changed the title fix audio can't play when unplug earphones fix web audio can't play when unplug earphones May 21, 2020
@PPpro
Copy link
Contributor Author

PPpro commented May 21, 2020

但其实,摘下耳机后,播放会有杂音,这个应该算是 iOS 上浏览器的 bug 了

@PPpro PPpro merged commit 01304e6 into cocos:v2.4.0 May 21, 2020
1 check passed
@PPpro PPpro deleted the 240_audio branch May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants