kVTCompressionPropertyKey_AverageBitRate

Static kVTCompressionPropertyKey_AverageBitRate 

Source
pub unsafe static kVTCompressionPropertyKey_AverageBitRate: &'static CFString
Available on crate feature VTCompressionProperties only.
Expand description

The long-term desired average bit rate in bits per second.

This is not a hard limit; the bit rate may peak above this. The default bit rate is zero, which indicates that the video encoder should determine the size of compressed data. Note that bit rate settings only have an effect when timing information is provided for source frames, and that some codecs do not support limiting to specified bit rates.

See also Apple’s documentation