Trait rtp::packetizer::Packetizer [−][src]
pub trait Packetizer: Debug {
fn enable_abs_send_time(&mut self, value: u8);
fn packetize<'life0, 'life1, 'async_trait>(
&'life0 mut self,
payload: &'life1 Bytes,
samples: u32
) -> Pin<Box<dyn Future<Output = Result<Vec<Packet>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn skip_samples(&mut self, skipped_samples: u32);
fn clone_to(&self) -> Box<dyn Packetizer + Send + Sync>;
}
Expand description
Packetizer packetizes a payload