-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support sound category and playback speed #26
Comments
Hi, One seems easily doable, but still can you provide use cases where you would like to change it. |
I am using |
Hey @ameer-taghavi Following up on Can you tell me which category would you need to set to make it work for your use case? You mentioned
Do you mean to play the audio when the phone is silenced because by default now the sound would play even if the phone is in silent mode. The audio is similar to a music app, not a notification which is silenced. If I am misunderstanding your point, please clarify it by providing a reproducible where it doesnt work like you want and how you would like to to behave instead. |
Yes. Exactly |
For iOS I used |
Please try react-native-audio-playback/src/models/AudioManager.ts Lines 26 to 35 in 49dc42d
Supported categories for iOS: react-native-audio-playback/src/types.ts Lines 1 to 8 in 49dc42d
Supported Usages on Android: react-native-audio-playback/src/types.ts Lines 10 to 23 in 49dc42d
Let me know if this resolves your request for sound category |
thanks @itsramiel |
thank you for add audio sessions and categories 🙏🏻 |
Hi, playback speed feature requires lots of research and changes which I dont have the motivation for now, sorry. |
please add
The text was updated successfully, but these errors were encountered: