<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayer/playImmediately(atRate:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayer(im)playImmediatelyAtRate:"
  },
  "title" : "playImmediately(atRate:)"
}
-->

# playImmediately(atRate:)

Plays the available media data immediately, at the specified rate.

```
nonisolated func playImmediately(atRate rate: Float)
```

## Parameters

`rate`

The specified playback rate.

## Discussion

This method plays the available media data at the specified `rate` regardless of whether there is sufficient media buffered to ensure smooth playback. If media data exists in the playback buffer, calling this method changes the player’s playback rate to the specified `rate` and its [`timeControlStatus`](/documentation/AVFoundation/AVPlayer/timeControlStatus-swift.property) to a value of [`AVPlayer.TimeControlStatus.playing`](/documentation/AVFoundation/AVPlayer/TimeControlStatus-swift.enum/playing). If the player has insufficient media data buffered to begin playback, the player will behave as if it has encountered a stall during playback, except that no [`playbackStalledNotification`](/documentation/AVFoundation/AVPlayerItem/playbackStalledNotification) will be posted.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)