TheWidlarzGroup/react-native-video
Ver no GitHub[BUG]: `muted` not working on Android 12/13 for Samsung and Pixel devices
Open
#4.162 aberto em 11 de set. de 2024
6.x.xAcceptedMissing ReproNewer Version AvailablePlatform: AndroidRepro ProvidedV6bugdifficulty: mediumhelp wantedpriority: mediumtriaged
Métricas do repositório
- Stars
- (7.677 stars)
- Métricas de merge de PR
- (Mesclagem média 2d 3h) (11 fundiu PRs em 30d)
Description
What happened?
muted video still plays audio when loaded on Samsung/Pixel devices with Android 12 or 13. Please note that we have attempted to load the same video on other devices like Huawei/Xiaomi/Oppo with similar Android versions and they work fine on them.
Workaround
We have applied a workaround with selectedAudioTrack={{type: SelectedTrackType.DISABLED}} configuration. It isn't ideal, but it works for us.
Steps to reproduce
- Load a
mutedvideo on a Samsung/Pixel device running Android 12 or 13. - Notice the video still plays audio when loaded.
Reproduction repository
No response
react-native-video version
6.5.0
react-native version
No response
react-native-nitro-modules version
No response
Platforms
Android
OS version
Android 13
Device
Real device
Architecture
Old Architecture
Expo
No response
Last working version
No response
Media / source type
No response