Struct medea_client_api_proto::stats::RtcInboundRtpStreamStats[][src]

pub struct RtcInboundRtpStreamStats {
    pub track_id: Option<String>,
    pub media_specific_stats: RtcInboundRtpStreamMediaType,
    pub bytes_received: u64,
    pub packets_received: u64,
    pub packets_lost: Option<i64>,
    pub jitter: Option<Float>,
    pub total_decode_time: Option<HighResTimeStamp>,
    pub jitter_buffer_emitted_count: Option<u64>,
}

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.

Full doc on W3C.

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]

impl Debug for RtcInboundRtpStreamStats[src]

impl<'de> Deserialize<'de> for RtcInboundRtpStreamStats[src]

impl Hash for RtcInboundRtpStreamStats[src]

impl PartialEq<RtcInboundRtpStreamStats> for RtcInboundRtpStreamStats[src]

impl Serialize for RtcInboundRtpStreamStats[src]

impl StructuralPartialEq for RtcInboundRtpStreamStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.