TheWidlarzGroup/react-native-video

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

Open

#4,162 建立於 2024年9月11日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Kotlin (7,677 star) (3,027 fork)batch import
6.x.xAcceptedPlatform: AndroidRepro Providedbughelp wanted

描述

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

貢獻者指南