Struct PeerConnection.AudioReceiverStats
Subset of RTCMediaStreamTrack (audio receiver) and RTCInboundRTPStreamStats. See https://www.w3.org/TR/webrtc-stats/#aststats-dict* and https://www.w3.org/TR/webrtc-stats/#inboundrtpstats-dict*.
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public struct AudioReceiverStats
Fields
| Improve this Doc View SourceAudioLevel
Linear audio level of the receiving track, in [0:1] range, averaged over a small interval.
Declaration
public double AudioLevel
Field Value
Type | Description |
---|---|
Double |
BytesReceived
Total number of bytes received for this SSRC.
Declaration
public ulong BytesReceived
Field Value
Type | Description |
---|---|
UInt64 |
PacketsReceived
Total number of RTP packets received for this SSRC.
Declaration
public uint PacketsReceived
Field Value
Type | Description |
---|---|
UInt32 |
RtpStatsTimestampUs
Unix timestamp (time since Epoch) of the RTP statistics. For remote statistics, this is the time at which the information reached the local endpoint.
Declaration
public long RtpStatsTimestampUs
Field Value
Type | Description |
---|---|
Int64 |
TotalAudioEnergy
Total audio energy of the received track. For multi-channel sources (stereo, etc.) this is the highest energy of any of the channels for each sample.
Declaration
public double TotalAudioEnergy
Field Value
Type | Description |
---|---|
Double |
TotalSamplesDuration
Total duration in seconds of all the samples received (and thus counted by TotalSamplesReceived). Like TotalAudioEnergy this is not affected by the number of channels per sample.
Declaration
public double TotalSamplesDuration
Field Value
Type | Description |
---|---|
Double |
TotalSamplesReceived
Total number of RTP samples received for this audio stream. Like TotalAudioEnergy this is not affected by the number of channels per sample.
Declaration
public double TotalSamplesReceived
Field Value
Type | Description |
---|---|
Double |
TrackIdentifier
Track identifier.
Declaration
public string TrackIdentifier
Field Value
Type | Description |
---|---|
String |
TrackStatsTimestampUs
Unix timestamp (time since Epoch) of the statistics. For remote statistics, this is the time at which the information reached the local endpoint.
Declaration
public long TrackStatsTimestampUs
Field Value
Type | Description |
---|---|
Int64 |