pub trait EncoderCallback: EncoderCallbackConst {
    fn as_raw_mut_EncoderCallback(&mut self) -> *mut c_void;

    fn on_encoded(&mut self, v_packet: Vector<Vector<u8>>) -> Result<()> { ... }
    fn on_encoding_finished(&mut self) -> Result<()> { ... }
}

Required Methods§

Provided Methods§

Callback function to signal that the encoded bitstream for one or more frames is ready.

Parameters
  • vPacket: The raw bitstream for one or more frames.

Callback function to that the encoding has finished.

Implementors§