Struct gstreamer_rtp::rtp_buffer::RTPBuffer [−][src]
pub struct RTPBuffer<'a, T> { /* fields omitted */ }
Implementations
impl<'a> RTPBuffer<'a, Readable>
[src]
impl<'a> RTPBuffer<'a, Readable>
[src]impl<'a> RTPBuffer<'a, Writable>
[src]
impl<'a> RTPBuffer<'a, Writable>
[src]pub fn from_buffer_writable(
buffer: &mut Buffer
) -> Result<RTPBuffer<'_, Writable>, BoolError>
[src]
buffer: &mut Buffer
) -> Result<RTPBuffer<'_, Writable>, BoolError>
pub fn set_seq(&mut self, seq: u16)
[src]
pub fn set_marker(&mut self, m: bool)
[src]
pub fn set_payload_type(&mut self, pt: u8)
[src]
pub fn set_ssrc(&mut self, ssrc: u32)
[src]
pub fn set_csrc(&mut self, idx: u8, ssrc: u32)
[src]
pub fn set_timestamp(&mut self, rtptime: u32)
[src]
pub fn set_extension(&mut self, extension: bool)
[src]
pub fn add_extension_onebyte_header(
&mut self,
id: u8,
data: &[u8]
) -> Result<(), BoolError>
[src]
&mut self,
id: u8,
data: &[u8]
) -> Result<(), BoolError>
pub fn add_extension_twobytes_header(
&mut self,
appbits: u8,
id: u8,
data: &[u8]
) -> Result<(), BoolError>
[src]
&mut self,
appbits: u8,
id: u8,
data: &[u8]
) -> Result<(), BoolError>
impl<'a, T> RTPBuffer<'a, T>
[src]
impl<'a, T> RTPBuffer<'a, T>
[src]pub fn seq(&self) -> u16
[src]
pub fn payload_type(&self) -> u8
[src]
pub fn ssrc(&self) -> u32
[src]
pub fn timestamp(&self) -> u32
[src]
pub fn csrc(&self, idx: u8) -> Option<u32>
[src]
pub fn csrc_count(&self) -> u8
[src]
pub fn is_marker(&self) -> bool
[src]
pub fn payload_size(&self) -> u32
[src]
pub fn payload(&self) -> Result<&[u8], BoolError>
[src]
pub fn is_extension(&self) -> bool
[src]
pub fn extension_bytes(&self) -> Option<(u16, Bytes)>
[src]
pub fn extension_onebyte_header(&self, id: u8, nth: u32) -> Option<&[u8]>
[src]
pub fn extension_twobytes_header(&self, id: u8, nth: u32) -> Option<(u8, &[u8])>
[src]
Trait Implementations
impl<'a, T> Send for RTPBuffer<'a, T>
[src]
impl<'a, T> Sync for RTPBuffer<'a, T>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for RTPBuffer<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Unpin for RTPBuffer<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for RTPBuffer<'a, T> where
T: UnwindSafe,
T: UnwindSafe,