I am looking for a way to control the frequency of IDR/I-Frames that openh264 encodes. Is there any encoder setting that can archive that?
int idrInterval = 0;
m_encoder->SetOption(ENCODER_OPTION_IDR_INTERVAL, &idrInterval);
Did the trick!