pub trait RTCPReader {
    fn read<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        buf: &'life1 mut [u8],
        attributes: &'life2 Attributes
    ) -> Pin<Box<dyn Future<Output = Result<(usize, Attributes), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }
Expand description

RTCPReader is used by Interceptor.bind_rtcpreader.

Required Methods

read a batch of rtcp packets

Implementations on Foreign Types

Implementors