Skip to main content

offer_frame

Function offer_frame 

Source
fn offer_frame(
    shared: &RecShared,
    tx: &SyncSender<Tap>,
    stripes: &[EncodedStripe],
)
Expand description

Enqueue one delivered frame for muxing. Only H.264 is recordable; JPEG or another codec is counted and skipped so the surfaces can report a clear “nothing recordable” error instead of writing a corrupt file.