Keyframe frequency youtube

Whenever i stream to youtube i get a message that says

“Please use a keyframe frequency of four seconds or less. Currently, keyframes are not being sent often enough, which can cause buffering. The current keyframe frequency is 4.5 seconds. Note that ingestion errors can cause incorrect GOP (group of pictures) sizes.”

anyone have this issue and any luck fixing it? im streaming from a pc