Skip to main content

session_bit_depth

Function session_bit_depth 

Source
pub fn session_bit_depth(
    encoder: Option<&FrameEncoder>,
    settings: &RustCaptureSettings,
) -> u32
Expand description

The bits per sample a session carries, which is not always what was asked for: a full-frame session’s own answer, and for the striped path (None) what its H.264 encoder opens at.