Struct gstreamer_rtp::RTPSourceMeta
source · pub struct RTPSourceMeta(/* private fields */);
Implementations§
source§impl RTPSourceMeta
impl RTPSourceMeta
pub fn add<'a>( buffer: &'a mut BufferRef, ssrc: Option<u32>, csrc: &[u32], ) -> MetaRefMut<'a, Self, Standalone>
pub fn ssrc(&self) -> Option<u32>
pub fn csrc(&self) -> &[u32]
pub fn set_ssrc(&mut self, ssrc: Option<u32>)
pub fn append_csrc(&mut self, csrc: &[u32]) -> Result<(), BoolError>
Trait Implementations§
source§impl Debug for RTPSourceMeta
impl Debug for RTPSourceMeta
impl Send for RTPSourceMeta
impl Sync for RTPSourceMeta
Auto Trait Implementations§
impl Freeze for RTPSourceMeta
impl RefUnwindSafe for RTPSourceMeta
impl Unpin for RTPSourceMeta
impl UnwindSafe for RTPSourceMeta
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more