iOS: Video does not play sound in silent mode.

I’m trying to play video using a <Video> element with sound enabled, but this does not work in iOS in silent mode.

I’ve configured Audio so that playsInSilentModeIOS is set to true, but this doesn’t seem to have any effect:

const setAudioMode = async () => {
    await Audio.setAudioModeAsync({
      playsInSilentModeIOS: true,
      allowsRecordingIOS: false,
      staysActiveInBackground: false,
      interruptionModeIOS: Audio.INTERRUPTION_MODE_IOS_DO_NOT_MIX,

React.useEffect(setAudioMode, []);

Here’s a simple Snack that demonstrates this:

SDK Version: 41
Platforms: iOS

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.