<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/kVTCompressionPropertyKey_MaximumRealTimeFrameRate",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@kVTCompressionPropertyKey_MaximumRealTimeFrameRate"
  },
  "title" : "kVTCompressionPropertyKey_MaximumRealTimeFrameRate"
}
-->

# kVTCompressionPropertyKey_MaximumRealTimeFrameRate

A value that specifies the maximum real time rate at which frames can be submitted to a compression session.

```
let kVTCompressionPropertyKey_MaximumRealTimeFrameRate: CFString
```

## Discussion

The frame rate is measured in frames per second. This property can be used to inform the encoder of the maximum rate that frames could be submitted to the encoder during realtime encoding.  This allows the encoder to configure itself to ensure this capability.

This property can only be used when [`kVTCompressionPropertyKey_RealTime`](/documentation/VideoToolbox/kVTCompressionPropertyKey_RealTime) has been set to true.

Unlike [`kVTCompressionPropertyKey_ExpectedFrameRate`](/documentation/VideoToolbox/kVTCompressionPropertyKey_ExpectedFrameRate), this property informs the maximum possible rate that the compression session could see, not the average frame rate that is expected in normal operation.

By default, the property has a value of zero indicating “unknown”.

---

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)