#[non_exhaustive]pub enum MarkerRule {
LastPacketOfFrame,
FirstPacketOfTalkspurt,
Never,
}Expand description
Which packets of a payload format carry the RTP marker bit. The bit’s meaning is the profile’s and the payload format’s (RFC 3550 section 5.1), so the payloader says.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LastPacketOfFrame
Video: the last packet of the frame, which is the last payload of a
Packetizer::packetize call (RFC 6184 section 5.1, RFC 7798 section 4.1, RFC 7741
section 4.1).
FirstPacketOfTalkspurt
Audio: the first packet of a talkspurt, that is the first packet after a silence the
caller reported with Packetizer::skip_samples, and no other (RFC 3551 section 4.1,
RFC 7587 section 4.1). A stream without silence suppression never sets it.
Never
Never set: comfort noise (RFC 3389 section 4).
Trait Implementations§
Source§impl Clone for MarkerRule
impl Clone for MarkerRule
impl Copy for MarkerRule
Source§impl Debug for MarkerRule
impl Debug for MarkerRule
Source§impl Default for MarkerRule
impl Default for MarkerRule
impl Eq for MarkerRule
Source§impl PartialEq for MarkerRule
impl PartialEq for MarkerRule
impl StructuralPartialEq for MarkerRule
Auto Trait Implementations§
impl Forget for MarkerRule
impl Freeze for MarkerRule
impl Move for MarkerRule
impl RefUnwindSafe for MarkerRule
impl Send for MarkerRule
impl Sync for MarkerRule
impl Unpin for MarkerRule
impl UnsafeUnpin for MarkerRule
impl UnwindSafe for MarkerRule
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