pub struct CapsEx(/* private fields */);Expand description
Extended capabilities bitmask (capsEx field in connect command).
These flags indicate support for various E-RTMP features.
Implementations§
Source§impl CapsEx
impl CapsEx
Sourcepub const MULTITRACK: u32 = 0x02
pub const MULTITRACK: u32 = 0x02
Support for multitrack audio/video
Sourcepub const TIMESTAMP_NANO_OFFSET: u32 = 0x08
pub const TIMESTAMP_NANO_OFFSET: u32 = 0x08
Support for nanosecond timestamp offsets
Sourcepub const fn intersection(&self, other: &Self) -> Self
pub const fn intersection(&self, other: &Self) -> Self
Compute intersection of two capability sets.
Sourcepub const fn supports_reconnect(&self) -> bool
pub const fn supports_reconnect(&self) -> bool
Check if reconnect is supported.
Sourcepub const fn supports_multitrack(&self) -> bool
pub const fn supports_multitrack(&self) -> bool
Check if multitrack is supported.
Sourcepub const fn supports_modex(&self) -> bool
pub const fn supports_modex(&self) -> bool
Check if ModEx signal parsing is supported.
Sourcepub const fn supports_timestamp_nano_offset(&self) -> bool
pub const fn supports_timestamp_nano_offset(&self) -> bool
Check if nanosecond timestamp offset is supported.
Trait Implementations§
impl Copy for CapsEx
impl Eq for CapsEx
impl StructuralPartialEq for CapsEx
Auto Trait Implementations§
impl Freeze for CapsEx
impl RefUnwindSafe for CapsEx
impl Send for CapsEx
impl Sync for CapsEx
impl Unpin for CapsEx
impl UnwindSafe for CapsEx
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