<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaExtension",
  "identifier" : "/documentation/MediaExtension/METrackReader/loadEstimatedDataRate(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MediaExtension"
    ],
    "preciseIdentifier" : "c:objc(pl)METrackReader(im)loadEstimatedDataRateWithCompletionHandler:"
  },
  "title" : "loadEstimatedDataRate(completionHandler:)"
}
-->

# loadEstimatedDataRate(completionHandler:)

Loads the approximate data rate of the track in bytes per second.

```
optional func loadEstimatedDataRate(completionHandler: @escaping @Sendable (Float32, (any Error)?) -> Void)
```

## Parameters

`completionHandler`

The completion block to execute when the load operation finishes.

## Discussion

If this method fails, it sets `estimatedDataRate` to `0.0` and the error contains information about the failure.

---

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)