Struct medea_client_api_proto::stats::RtcInboundRtpStreamStats [−][src]
Representation of the measurement metrics for the incoming RTP media stream. The timestamp reported in the statistics object is the time at which the data was sampled.
RtcStatsType::InboundRtp
variant.
Fields
track_id: Option<String>
ID of the stats object representing the receiving track.
media_specific_stats: RtcInboundRtpStreamMediaType
Fields which should be in the RtcStat
based on mediaType
.
bytes_received: u64
Total number of bytes received for this SSRC.
packets_received: u64
Total number of RTP data packets received for this SSRC.
packets_lost: Option<i64>
Total number of RTP data packets for this SSRC that have been lost since the beginning of reception.
This number is defined to be the number of packets expected less the number of packets actually received, where the number of packets received includes any which are late or duplicates. Thus, packets that arrive late are not counted as lost, and the loss may be negative if there are duplicates.
jitter: Option<Float>
Packet jitter measured in seconds for this SSRC.
total_decode_time: Option<HighResTimeStamp>
Total number of seconds that have been spent decoding the
framesDecoded
frames of this stream.
The average decode time can be calculated by dividing this value with
framesDecoded
. The time it takes to decode one frame is the time
passed between feeding the decoder a frame and the decoder returning
decoded data for that frame.
jitter_buffer_emitted_count: Option<u64>
Total number of audio samples or video frames that have come out of the
jitter buffer (increasing jitterBufferDelay
).
Trait Implementations
impl Clone for RtcInboundRtpStreamStats
[src]
fn clone(&self) -> RtcInboundRtpStreamStats
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RtcInboundRtpStreamStats
[src]
impl<'de> Deserialize<'de> for RtcInboundRtpStreamStats
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Hash for RtcInboundRtpStreamStats
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<RtcInboundRtpStreamStats> for RtcInboundRtpStreamStats
[src]
fn eq(&self, other: &RtcInboundRtpStreamStats) -> bool
[src]
fn ne(&self, other: &RtcInboundRtpStreamStats) -> bool
[src]
impl Serialize for RtcInboundRtpStreamStats
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RtcInboundRtpStreamStats
[src]
Auto Trait Implementations
impl RefUnwindSafe for RtcInboundRtpStreamStats
impl Send for RtcInboundRtpStreamStats
impl Sync for RtcInboundRtpStreamStats
impl Unpin for RtcInboundRtpStreamStats
impl UnwindSafe for RtcInboundRtpStreamStats
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,