Trait h264_reader::push::AccumulatedNalHandler

source ·
pub trait AccumulatedNalHandler {
    // Required method
    fn nal(&mut self, nal: RefNal<'_>) -> NalInterest;
}
Expand description

NalAccumulator callback which handles partially- or completely-buffered NALs.

The simplest handler is a closure. Implement this type manually when you your handler to own state which can be accessed via NalAccumulator::handler, NalAccumulator::handler_mut, or NalAccumulator::into_handler.

Required Methods§

source

fn nal(&mut self, nal: RefNal<'_>) -> NalInterest

Implementors§