Instance Property


The desired limit, in bits per second, of network bandwidth consumption for this item.


var preferredPeakBitRate: Double { get set }


Set preferredPeakBitRate to non-zero to indicate that the player should attempt to limit item playback to that bit rate, expressed in bits per second.

If network bandwidth consumption cannot be lowered to meet the preferredPeakBitRate, it will be reduced as much as possible while continuing to play the item.

See Also

Configuring Network Behavior

var preferredForwardBufferDuration: TimeInterval

The duration the player should buffer media from the network ahead of the playhead to guard against playback disruption.

var canUseNetworkResourcesForLiveStreamingWhilePaused: Bool

A Boolean value that indicates whether the player item can use network resources to keep the playback state up to date while paused.

var preferredMaximumResolution: CGSize

The desired maximum resolution of a video that is to be downloaded.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software