-
-
Notifications
You must be signed in to change notification settings - Fork 625
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
Ability to play sound from the earpiece #382
Comments
Maybe this needs to be implemented in audio_session. |
Hey @ryanheise! This feature has now been implemented in the latest version of the Could you take a look at this? The referenced issue is the one from the session package. |
My thinking was that the appropriate location for this feature was the audio_session package rather than to implement it as a feature of just_audio. Are you able to achieve what you want by directly using audio_session? |
@ryanheise I'm not the author of the issue, but I was indeed able to achieve my desired result by using While it'd surely be convenient to have such functionality built-in I guess this issue can be closed The only comment I might add is that it's worth to provide an example of using |
Thanks for letting me know of your success. Would you mind sharing your recipe notes here in this issue or in an issue on audio_session? |
Is your feature request related to a problem? Please describe.
Make possible to play audio from the device's earpiece (if available), rather than the main speaker.
Describe the solution you'd like
This is a sample implementation:
The text was updated successfully, but these errors were encountered: