---
title: defaultRate
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayer/defaultrate
---

# defaultRate

A default rate at which to begin playback.

## Declaration

```swift
nonisolated var defaultRate: Float { get set }
```

## Mentioned in

Controlling the transport behavior of a player

## Discussion

Discussion This value represents the default playback rate the player uses when you call its play() method. After playback begins, the rate may differ from the default if you modify the player’s rate value, such as by calling pause(). important: Begin playback by calling the play() method. Don’t start playback by setting the rate property value to 1.0. Instead, use rate to make immediate, temporary changes to the playback rate. The next time you call the play() method, the player restores the rate to the value of defaultRate.

## See Also

### Controlling playback

- [play()](avfoundation/avplayer/play().md)
- [pause()](avfoundation/avplayer/pause().md)
- [rate](avfoundation/avplayer/rate.md)
- [rateDidChangeNotification](avfoundation/avplayer/ratedidchangenotification.md)
- [playheadReachedLiveEdge](avfoundation/avplayer/ratedidchangereason/playheadreachedliveedge.md)
- [reversePlaybackReachedStartOfSeekableRange](avfoundation/avplayer/ratedidchangereason/reverseplaybackreachedstartofseekablerange.md)
