Contents

preferredForwardBufferDuration

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

Declaration

nonisolated var preferredForwardBufferDuration: TimeInterval { get set }

Discussion

This property defines the preferred forward buffer duration in seconds. If set to 0, the player will choose an appropriate level of buffering for most use cases. Setting this property to a low value will increase the chance that playback will stall and re-buffer, while setting it to a high value will increase demand on system resources.

See Also

Configuring network behavior