Struct PeerConnection.AudioSenderStats
Subset of RTCMediaStreamTrack (audio sender) and RTCOutboundRTPStreamStats. See https://www.w3.org/TR/webrtc-stats/#raststats-dict* and https://www.w3.org/TR/webrtc-stats/#sentrtpstats-dict*.
Namespace: Microsoft.MixedReality.WebRTC
Assembly: Microsoft.MixedReality.WebRTC.dll
Syntax
public struct AudioSenderStats
Fields
| Improve this Doc View SourceAudioLevel
Linear audio level of the media source, in [0:1] range, averaged over a small interval.
Declaration
public double AudioLevel
Field Value
Type | Description |
---|---|
Double |
BytesSent
Total number of bytes sent for this SSRC.
Declaration
public ulong BytesSent
Field Value
Type | Description |
---|---|
UInt64 |
PacketsSent
Total number of RTP packets sent for this SSRC.
Declaration
public uint PacketsSent
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 media source. 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 produced by the media source for the lifetime of the underlying internal statistics object. Like TotalAudioEnergy this is not affected by the number of channels per sample.
Declaration
public double TotalSamplesDuration
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 audio 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 |