Struct medea_client_api_proto::stats::RtpContributingSourceStats [−][src]
extended-stats only.Statistics for a contributing source (CSRC) that contributed to an inbound RTP stream.
RtcStatsType::Csrc variant.
Fields
contributor_ssrc: Option<u32>SSRC identifier of the contributing source represented by the stats object, as defined by RFC 3550. It is a 32-bit unsigned integer that appears in the CSRC list of any packets the relevant source contributed to.
inbound_rtp_stream_id: Option<String>ID of the RTCInboundRtpStreamStats object representing the inbound RTP stream that this contributing source is contributing to.
packets_contributed_to: Option<u64>Total number of RTP packets that this contributing source contributed to.
This value is incremented each time a packet is counted by
RTCInboundRtpStreamStats.packetsReceived, and the packet's CSRC
list (as defined by Section 5.1 in RFC 3550) contains the SSRC
identifier of this contributing source, contributorSsrc.
audio_level: Option<Float>Present if the last received RTP packet that this source contributed to contained an RFC 6465 mixer-to-client audio level header extension.
The value of audioLevel is between 0..1 (linear), where 1.0
represents 0 dBov, 0 represents silence, and 0.5 represents
approximately 6 dBSPL change in the sound pressure level from 0
dBov. The RFC 6465 header extension contains values in the range
0..127, in units of -dBov, where 127 represents silence. To
convert these values to the linear 0..1 range of audioLevel, a
value of 127 is converted to 0, and all other values are
converted using the equation:
f(rfc6465_level) = 10^(-rfc6465_level/20)
Trait Implementations
impl Clone for RtpContributingSourceStats[src]
fn clone(&self) -> RtpContributingSourceStats[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for RtpContributingSourceStats[src]
impl<'de> Deserialize<'de> for RtpContributingSourceStats[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Hash for RtpContributingSourceStats[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<RtpContributingSourceStats> for RtpContributingSourceStats[src]
fn eq(&self, other: &RtpContributingSourceStats) -> bool[src]
fn ne(&self, other: &RtpContributingSourceStats) -> bool[src]
impl Serialize for RtpContributingSourceStats[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for RtpContributingSourceStats[src]
Auto Trait Implementations
impl RefUnwindSafe for RtpContributingSourceStats[src]
impl Send for RtpContributingSourceStats[src]
impl Sync for RtpContributingSourceStats[src]
impl Unpin for RtpContributingSourceStats[src]
impl UnwindSafe for RtpContributingSourceStats[src]
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>,