Skip to main content

ApplePlayerConfiguration

Player configuration specific to Apple platforms.

Properties​

silentSwitchBehaviour?​

optional silentSwitchBehaviour: AppleSilentSwitchBehaviour

Specifies whether to ignore or obey the physical silent switch on Apple devices. If not defined, a default system behavior is left.


networkConfiguration?​

optional networkConfiguration: AppleNetworkConfiguration

The network configuration to tweak timeouts and cellular connectivity.


appliesMediaSelectionCriteriaAutomatically?​

optional appliesMediaSelectionCriteriaAutomatically: boolean

Enable/disable automatic media selection for AVPlayer When true, the player automatically selects media options based on user preferences. When false, automatic selection is disabled. Defaults to Apple's system behavior if not specified.


pictureInPictureAllowed?​

optional pictureInPictureAllowed: boolean

Controls whether Picture-in-Picture (PiP) is allowed.

For AVPlayerViewControllerProvider playback this maps to allowsPictureInPicturePlayback on AVPlayerViewController. For PlayerProvider playback it controls whether the underlying AVPictureInPictureController is created. If omitted, the native platform default is used.