I am currently a developer developing iOS apps.
When you access WebView WEBRTC while wearing Bluetooth earphones on your iPhone 15, sound comes out through the iPhone speaker, not the earphone speaker.
I confirmed that it works normally when I run the app on Android.
I would like to know if there is a solution to this problem.
The settings in use are below.
build pc : macbook pro 14
Unity version : 2021.3.39f1
xcode : 14
I think it may be possible to write code to change the audio output destination using the WebView WebRTC JavaScript API, but it depends on how you are using WebView WebRTC.
In Vuplex, the audio output appears to be sent directly to the system, and it does not appear that the output destination can be changed using the JavaScript API.