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

Route audio through earpiece on audio only calls #276

Open
singhabhilash opened this issue Apr 29, 2019 · 9 comments
Open

Route audio through earpiece on audio only calls #276

singhabhilash opened this issue Apr 29, 2019 · 9 comments
Labels
enhancement New feature or request

Comments

@singhabhilash
Copy link

singhabhilash commented Apr 29, 2019

Seems this has been asked multiple times, but there isn't any working solution. I tried using InCallManager as mentioned here - #173, the audio still came from the main speaker. The person who opened that issue also commented that InCallManager isn't working with OT. Do we have a solution for this? I can share the code I'm using with InCallManager and OT. Once we have a solution, we should probably update the docs also as having the ability to route audio through earpiece is pretty important for voice only calls.

For voice only calls, I guess a better default would be routing audio through earpiece.

@evillemez
Copy link
Contributor

We use InCallManager as well, and also have issues. It seems to mostly be working as expected for Android for us, but iOS is not...

I'm interesting in hearing what others are doing to address this, or if @msach22 has a recommended solution.

@evillemez
Copy link
Contributor

@msach22 Do you have any recommendations here? It sounds like a number of us are trying to use InCallManager with OT to do this, but not having reliable results. Do you know of a better approach we should be trying?

@singhabhilash
Copy link
Author

@evillemez This is also a very crucial use case for us. Hoping to get a solution.

@alexei-sevrukov-topx
Copy link

alexei-sevrukov-topx commented Jul 18, 2019

@evillemez @msach22 it's also blocker for our project because we need this feature to switch between "ear" to "speaker" mode. Could you please tell about progress in solving of this question? Or maybe alternative ways to implement this feature?

@freddiecabrera
Copy link

Has there been an update on this?

@enricop89 enricop89 added the enhancement New feature or request label Jun 17, 2020
@freddiecabrera
Copy link

I had to build a bridge for both ios and android to toggle the speaker on and off. I can share the code if anyone needs it.

@enricop89
Copy link
Contributor

@freddiecabrera yes, please. You can submit a PR and I'll review it

@flogy
Copy link

flogy commented May 31, 2021

Would be interested in the code as well, @freddiecabrera

@kazama-wip
Copy link

we need this feature to switch between "ear" and "speaker" mode

only for android.
I was able to switch between "ear" and "speaker" mode using InCallManager.presetSpeakerphoneOn(false) after the call
is started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants