pub struct RtpDepacketizerStatus {Show 15 fields
pub packets: u64,
pub frames_emitted: u64,
pub config_wait_drops: u64,
pub keyframes_with_prepended_config: u64,
pub parameter_sets_prepended: u64,
pub fragment_sequence_gaps: u64,
pub fragment_overflows: u64,
pub unsupported_payloads: u64,
pub malformed_packets: u64,
pub last_payload_type: Option<u8>,
pub last_sequence_number: Option<u16>,
pub last_timestamp: Option<u32>,
pub last_codec: Option<Codec>,
pub last_nal_type: Option<u8>,
pub codec_config: CodecConfigState,
}Expand description
Cumulative RTP depacketizer diagnostics.
Fields§
§packets: u64RTP packets submitted to the depacketizer.
frames_emitted: u64Annex-B video frames emitted.
config_wait_drops: u64Video NAL units dropped because decoder config was not complete yet.
keyframes_with_prepended_config: u64Keyframes emitted with cached decoder config prepended.
parameter_sets_prepended: u64Cached SPS/PPS/VPS parameter-set NAL units prepended to keyframes.
fragment_sequence_gaps: u64Fragment chains dropped because an RTP sequence gap was observed.
fragment_overflows: u64Fragment chains that exceeded the configured size guard.
unsupported_payloads: u64Packets rejected because they were not H.264/H.265 video.
malformed_packets: u64Packets rejected because the RTP header or payload was malformed.
last_payload_type: Option<u8>Most recent RTP payload type.
last_sequence_number: Option<u16>Most recent RTP sequence number.
last_timestamp: Option<u32>Most recent RTP timestamp.
last_codec: Option<Codec>Most recent detected video codec.
last_nal_type: Option<u8>Most recent H.264/H.265 NAL unit type.
codec_config: CodecConfigStateCurrent decoder configuration state.
Trait Implementations§
Source§impl Clone for RtpDepacketizerStatus
impl Clone for RtpDepacketizerStatus
Source§fn clone(&self) -> RtpDepacketizerStatus
fn clone(&self) -> RtpDepacketizerStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RtpDepacketizerStatus
Source§impl Debug for RtpDepacketizerStatus
impl Debug for RtpDepacketizerStatus
Source§impl Default for RtpDepacketizerStatus
impl Default for RtpDepacketizerStatus
Source§fn default() -> RtpDepacketizerStatus
fn default() -> RtpDepacketizerStatus
Returns the “default value” for a type. Read more
impl Eq for RtpDepacketizerStatus
Source§impl PartialEq for RtpDepacketizerStatus
impl PartialEq for RtpDepacketizerStatus
Source§fn eq(&self, other: &RtpDepacketizerStatus) -> bool
fn eq(&self, other: &RtpDepacketizerStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RtpDepacketizerStatus
Auto Trait Implementations§
impl Freeze for RtpDepacketizerStatus
impl RefUnwindSafe for RtpDepacketizerStatus
impl Send for RtpDepacketizerStatus
impl Sync for RtpDepacketizerStatus
impl Unpin for RtpDepacketizerStatus
impl UnsafeUnpin for RtpDepacketizerStatus
impl UnwindSafe for RtpDepacketizerStatus
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