TheWidlarzGroup/react-native-video

[BUG]: `muted` not working on Android 12/13 for Samsung and Pixel devices

Open

#4162 aperta il 11 set 2024

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Kotlin (3027 fork)batch import
6.x.xAcceptedPlatform: AndroidRepro Providedbughelp wanted

Metriche repository

Star
 (7677 star)
Metriche merge PR
 (Merge medio 34g 22h) (1 PR mergiata in 30 g)

Descrizione

Version

6.5.0

What platforms are you having the problem on?

Android

System Version

Android 13

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

muted video still play 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 version and they work fine in them.

we have applied a workaround with selectedAudioTrack={{type: SelectedTrackType.DISABLED}} configuration, it isn't ideal, but it works for us.

Reproduction Link

No response

Reproduction

Step to reproduce this bug are:

  1. Load a muted video on Samsung/Pixel devices with Android 12 or 13
  2. Notice video still play audio when loaded

Guida contributor