iOS Capacitor phone app cannot select audio output #5401
Unanswered
dchappelle
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Use cordova iosrtc plugin for ios webrtc connection and then you can also use it to change audio output between speaker and earpiece. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a web client that uses WebRTC to make audio and video calls. The web client uses the Quasar framework and we're now using Capacitor to run it as a hybrid app on Android and iOS. On both platforms, when a call is made, the audio is always routed to the device's speaker (unless there is e.g., a bluetooth headset attached). I created a plugin to toggle the speakerphone - which works on Android but not for iOS (15.2.1). I noticed for iOS, when looking at the audio session, there is only ever one output device available i.e., iPhone speaker and trying to change the session category/mode doesn't work.
My question... is it possible to route the audio to other than the speaker for a Capacitor iOS phone app?
Beta Was this translation helpful? Give feedback.
All reactions