Contents

kVTCompressionPropertyKey_MaximumRealTimeFrameRate

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

Declaration

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 has been set to true.

Unlike 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”.

See Also

Encoding Hints