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

Can we have earpiece option available for audio output source? #500

Closed
chaawlaapooja opened this issue May 2, 2021 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@chaawlaapooja
Copy link

Feature Request

Description

(Include problem, use cases, benefits, and/or goals)
Problem : No support for earpiece option

Goal: I am using opentok-react-native in my project and my goal is to allow the user to use phone(earpiece), speaker and bluetooth options.

Use case: If someone needs to have privacy while streaming for audio-only calls, there can be two things to achieve that - earpiece or headphones. For instance, if the headphones are not charged or are not available for some other, we need to give the user the option to switch to phone(earpiece mode)

Proposal
I see opentok-react-native is using custom driver which is preventing me to switch to earpiece mode despite of trying many solutions and packages that force turn off the speaker. Is it possible to modify the audio driver so that it can support earpiece option. Additionally I tried implementing airplay to check for phone and speaker but that doesn't seem to pick both options because of the limitation we have for audio sources.

Links / references
Image of available options shown by airplay in opentok-react-native
image

@abdulajet abdulajet added the enhancement New feature or request label May 17, 2021
@enricop89
Copy link
Contributor

Duplicate #159

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

3 participants