VTCompressionSessionCreate returned 12902 if kVTVideoEncoderSpecification_EnableLowLatencyRateControl was picked. Code: CFMutableDictionaryRef encoderSpecification = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, NULL, NULL);
CFDictionarySetValue(encoderSpecification, kVTVideoEncoderSpecification_EnableLowLatencyRateControl, kCFBooleanTrue);
OSStatus result = VTCompressionSessionCreate(kCFAllocatorDefault, 640, 360, kCMVideoCodecType_H264, encoderSpecification, nullptr, nullptr, cb, outputCallbackRefCon, &m_session);
if(result != noErr){ return result; }