We are running our platform over WebRTC.
When a user makes a voice call from mobile Chrome or Firefox, we'd like the sound from the call to go to the earpiece instead of the speaker and also to have an option to switch between these two.
Anyone aware of a solution for these questions today?
By solution, I mean something that doesn't require the user to install additional plugins, or to change settings in their browsers.
On Opera browser it's work fine and the browser allow to use earpiece.
I will appreciate any ideas regarding this issue.