pub struct SliBuilder { /* private fields */ }
Expand description
Builder for Slice Loss Information
Implementations§
Source§impl SliBuilder
impl SliBuilder
Sourcepub fn add_lost_macroblock(
self,
start_macroblock: u16,
count_macroblocks: u16,
picture_id: u8,
) -> Self
pub fn add_lost_macroblock( self, start_macroblock: u16, count_macroblocks: u16, picture_id: u8, ) -> Self
Add a lost macro block to the SLI
Trait Implementations§
Source§impl Debug for SliBuilder
impl Debug for SliBuilder
Source§impl<'a> FciBuilder<'a> for SliBuilder
impl<'a> FciBuilder<'a> for SliBuilder
Source§impl RtcpPacketWriter for SliBuilder
impl RtcpPacketWriter for SliBuilder
Source§fn calculate_size(&self) -> Result<usize, RtcpWriteError>
fn calculate_size(&self) -> Result<usize, RtcpWriteError>
Calculates the size required to write this RTCP packet. Read more
Source§fn write_into_unchecked(&self, buf: &mut [u8]) -> usize
fn write_into_unchecked(&self, buf: &mut [u8]) -> usize
Writes this RTCP packet into
buf
without any validity checks. Read moreSource§fn get_padding(&self) -> Option<u8>
fn get_padding(&self) -> Option<u8>
Gets the padding that was configured for this RTCP packet.
Auto Trait Implementations§
impl Freeze for SliBuilder
impl RefUnwindSafe for SliBuilder
impl Send for SliBuilder
impl Sync for SliBuilder
impl Unpin for SliBuilder
impl UnwindSafe for SliBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> RtcpPacketWriterExt for Twhere
T: RtcpPacketWriter,
impl<T> RtcpPacketWriterExt for Twhere
T: RtcpPacketWriter,
Source§fn write_into(&self, buf: &mut [u8]) -> Result<usize, RtcpWriteError>
fn write_into(&self, buf: &mut [u8]) -> Result<usize, RtcpWriteError>
Writes the Custom packet into
buf
. Read more