---
title: sequenceWasRestarted
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritemsamplebufferoutput/samplebufferinsequence/sequencewasrestarted
---

# sequenceWasRestarted

Indicates the very first buffer in a new sequence produced by this output. Seeking or changing playback direction will start a new sequence of buffers. If you have any sample buffers queued from the previous sequence, these should be discarded.

## Declaration

```swift
var sequenceWasRestarted: Bool
```
