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

After using microphone, <audio> playback is not emitted through the loudspeaker on iOS Safari #203

Open
cjsio opened this issue Aug 28, 2020 · 0 comments

Comments

@cjsio
Copy link

cjsio commented Aug 28, 2020

The recording process works as intended on iOS 12 and iOS 13, but when playing an mp3 or wav from an <audio> (or even playing a file with a <video> element), the iPhone's internal speaker is used for speaker playback instead of the loudspeaker. This only happens after initiating/using getUserMedia(), and if the microphone is not initiated/used, then the audio playback properly uses the loudspeaker located on the front of the phone. Does anyone know why this occurs and/or how it can be circumvented to allow speaker playback through the front-facing loudspeaker after calling getUserMedia() instead of being limited to the forced bottom-facing internal speaker?

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

No branches or pull requests

1 participant