---
title: automaticallyPreservesTimeOffsetFromLive
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritem/automaticallypreservestimeoffsetfromlive
---

# automaticallyPreservesTimeOffsetFromLive

A Boolean value that indicates whether the player preserves its time offset from the live time after a buffering operation.

## Declaration

```swift
nonisolated var automaticallyPreservesTimeOffsetFromLive: Bool { get set }
```

## Discussion

Discussion The default value of this property is false. If the value is true, the player seeks forward after it finishes buffering to restore the position that the playhead had when buffering began, relative to the end of the player item’s seekableTimeRanges property value. note: This property value has no effect if the asset isn’t a live stream.

## See Also

### Managing time offsets

- [recommendedTimeOffsetFromLive](avfoundation/avplayeritem/recommendedtimeoffsetfromlive.md)
- [configuredTimeOffsetFromLive](avfoundation/avplayeritem/configuredtimeoffsetfromlive.md)
