-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Feature]: Duck option for audio from other apps on Android #4144
Comments
Thank you for your feature request. We will review it and get back to you if we need more information. |
Apparently android has ducking built in somehow, we'd need to look at the code to see what we might need to do. |
@kehuang805 I am currently working around audio focus. Can you please describe exactly the behavior you want to have ? There are 3 props to handle audio: "inherit" (default) --> pause playback when when other app use audio (same as disableFocus=false) |
@freeboub We would like |
Description
Android currently only offers two options with
disableFocus
for either overriding or mixing outside audio and I did not see a way to duck with react-native-video.Why it is needed ?
iOS has the option to duck with the
mixWithOthers
property but it is not present for Android so it is not possible to have consistent behavior between operating systems currently.Possible implementation
Technical POV how to do it
Code sample
Code sample
The text was updated successfully, but these errors were encountered: