setiOSStereoPlayoutPreferred static method

Future<void> setiOSStereoPlayoutPreferred(
  1. bool preferred
)

Set whether stereo playout is preferred (iOS only).

When enabled, the native layer configures the ADM for stereo playout, bypasses voice processing, and monitors audio route changes.

Mutually exclusive with "speaking while muted" detection: bypassing voice processing moves the ADM's mute to the input mixer, so NativePeerConnectionFactory.setMicrophoneMuted still mutes capture but emits no onSpeechActivityChanged events while muted.

Implementation

static Future<void> setiOSStereoPlayoutPreferred(bool preferred) =>
    IosAudioManagement.setStereoPlayoutPreferred(preferred);