pub trait RTCPWriter {
    fn write<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        pkts: &'life1 [Box<dyn Packet + Send + Sync>],
        attributes: &'life2 Attributes
    ) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }
Expand description

RTCPWriter is used by Interceptor.bind_rtcpwriter.

Required Methods

write a batch of rtcp packets

Implementors