Instance Property

preferredPeakBitRate

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

Declaration

var preferredPeakBitRate: Double { get set }

Discussion

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.