pub fn periodic_idr_due(
settings: &RustCaptureSettings,
frame_counter: u16,
) -> boolExpand description
Whether a scheduled keyframe is due this tick.
The default (keyframe_interval_s <= 0) is an infinite GOP with no scheduled IDRs. A positive
interval buys a fixed ~N-second recovery cadence for consumers that cannot request one on demand.
§Arguments
settings- Capture settings; readskeyframe_interval_sandtarget_fps.frame_counter- Current frame number (wrappingu16).
§Returns
true if a periodic IDR should be forced on this frame.