overrideAudioSession property
IOS only.
Overrides AVAudioSession settings with
AVAudioSession.Category: .playback
AVAudioSession.CategoryOptions: [.default]
You may use your implementation to set your preferred configurations. Changes to this property will only take effect after you call preparePlayer.
Setting this property to true will set the AudioSession in native otherwise nothing happens.
Defaults to false.
Implementation
bool overrideAudioSession = false;