Hi,
That will depend on your encoder. In most cases you can configure the encoder to generate keyframes more or less often. The more keyframes you add, the higher your bitrate will be, but the quality will increase and the chance of seeing bad starts to recordings will decrease.