Enum medea_client_api_proto::stats::RtcInboundRtpStreamMediaType [−][src]
Fields of RtcStatsType::InboundRtp
variant.
Variants
Fields when mediaType
is audio
.
Fields of Audio
voice_activity_flag: Option<bool>
Indicator whether the last RTP packet whose frame was delivered to the RTCRtpReceiver’s MediaStreamTrack for playout contained voice activity or not based on the presence of the V bit in the extension header, as defined in RFC 6464.
total_samples_received: Option<u64>
Total number of samples that have been received on this RTP stream.
This includes concealedSamples
.
concealed_samples: Option<u64>
Total number of samples that are concealed samples.
A concealed sample is a sample that was replaced with synthesized
samples generated locally before being played out.
Examples of samples that have to be concealed are samples from lost
packets (reported in packetsLost
) or samples from packets that
arrive too late to be played out (reported in
packetsDiscarded
).
silent_concealed_samples: Option<u64>
Total number of concealed samples inserted that are “silent”.
Playing out silent samples results in silence or comfort noise.
This is a subset of concealedSamples
.
audio_level: Option<Float>
Audio level of the receiving track.
total_audio_energy: Option<Float>
Audio energy of the receiving track.
total_samples_duration: Option<HighResTimeStamp>
Audio duration of the receiving track.
For audio durations of tracks attached locally, see RTCAudioSourceStats instead.
Fields when mediaType
is video
.
Fields of Video
frames_decoded: Option<u64>
Total number of frames correctly decoded for this RTP stream, i.e. frames that would be displayed if no frames are dropped.
key_frames_decoded: Option<u64>
Total number of key frames, such as key frames in VP8 RFC 6386 or IDR-frames in H.264 RFC 6184, successfully decoded for this RTP media stream.
This is a subset of framesDecoded
.
framesDecoded
- keyFramesDecoded
gives you the number of
delta frames decoded.
frame_width: Option<u64>
Width of the last decoded frame.
Before the first frame is decoded this attribute is missing.
frame_height: Option<u64>
Height of the last decoded frame.
Before the first frame is decoded this attribute is missing.
total_inter_frame_delay: Option<Float>
Sum of the interframe delays in seconds between consecutively decoded frames, recorded just after a frame has been decoded.
frames_per_second: Option<u64>
Number of decoded frames in the last second.
frame_bit_depth: Option<u64>
Bit depth per pixel of the last decoded frame.
Typical values are 24, 30, or 36 bits. Before the first frame is decoded this attribute is missing.
fir_count: Option<u64>
Total number of Full Intra Request (FIR) packets sent by this receiver.
pli_count: Option<u64>
Total number of Picture Loss Indication (PLI) packets sent by this receiver.
sli_count: Option<u64>
Total number of Slice Loss Indication (SLI) packets sent by this receiver.
concealment_events: Option<u64>
Number of concealment events.
This counter increases every time a concealed sample is synthesized
after a non-concealed sample. That is, multiple consecutive
concealed samples will increase the concealedSamples
count
multiple times but is a single concealment event.
frames_received: Option<u64>
Total number of complete frames received on this RTP stream.
This metric is incremented when the complete frame is received.
Trait Implementations
impl Clone for RtcInboundRtpStreamMediaType
[src]
fn clone(&self) -> RtcInboundRtpStreamMediaType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RtcInboundRtpStreamMediaType
[src]
impl<'de> Deserialize<'de> for RtcInboundRtpStreamMediaType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Hash for RtcInboundRtpStreamMediaType
[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<RtcInboundRtpStreamMediaType> for RtcInboundRtpStreamMediaType
[src]
fn eq(&self, other: &RtcInboundRtpStreamMediaType) -> bool
[src]
fn ne(&self, other: &RtcInboundRtpStreamMediaType) -> bool
[src]
impl Serialize for RtcInboundRtpStreamMediaType
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for RtcInboundRtpStreamMediaType
[src]
Auto Trait Implementations
impl RefUnwindSafe for RtcInboundRtpStreamMediaType
impl Send for RtcInboundRtpStreamMediaType
impl Sync for RtcInboundRtpStreamMediaType
impl Unpin for RtcInboundRtpStreamMediaType
impl UnwindSafe for RtcInboundRtpStreamMediaType
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>,