RemoteAudioStats
- C#
更新时间不可用
远端用户的音频统计数据。
public class RemoteAudioStats
{
public RemoteAudioStats()
{
uid = 0;
quality = 0;
networkTransportDelay = 0;
jitterBufferDelay = 0;
audioLossRate = 0;
numChannels = 0;
receivedSampleRate = 0;
receivedBitrate = 0;
totalFrozenTime = 0;
frozenRate = 0;
mosValue = 0;
totalActiveTime = 0;
publishDuration = 0;
qoeQuality = 0;
qualityChangedReason = 0;
public int e2eDelay;
}
public RemoteAudioStats(uint uid, int quality, int networkTransportDelay, int jitterBufferDelay,
int audioLossRate, int numChannels, int receivedSampleRate, int receivedBitrate, int totalFrozenTime,
int frozenRate, int mosValue, int totalActiveTime, int publishDuration, int qoeQuality, int qualityChangedReason)
{
this.uid = uid;
this.quality = quality;
this.networkTransportDelay = networkTransportDelay;
this.jitterBufferDelay = jitterBufferDelay;
this.audioLossRate = audioLossRate;
this.numChannels = numChannels;
this.receivedSampleRate = receivedSampleRate;
this.receivedBitrate = receivedBitrate;
this.totalFrozenTime = totalFrozenTime;
this.frozenRate = frozenRate;
this.mosValue = mosValue;
this.totalActiveTime = totalActiveTime;
this.publishDuration = publishDuration;
this.qoeQuality = qoeQuality;
this.qualityChangedReason = qualityChangedReason;
}
public uint uid { set; get; }
public int quality { set; get; }
public int networkTransportDelay { set; get; }
public int jitterBufferDelay { set; get; }
public int audioLossRate { set; get; }
public int numChannels { set; get; }
public int receivedSampleRate { set; get; }
public int receivedBitrate { set; get; }
public int totalFrozenTime { set; get; }
public int frozenRate { set; get; }
public int mosValue { set; get; }
public int totalActiveTime { set; get; }
public int publishDuration { set; get; }
public int qoeQuality { set; get; }
public int qualityChangedReason { set; get; }
};属性
| 参数名 | 描述 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
uid | |||||||||||||||
quality | 远端用户发送的音频流质量。详见 QUALITY_TYPE。 | ||||||||||||||
networkTransportDelay | |||||||||||||||
jitterBufferDelay | |||||||||||||||
audioLossRate | |||||||||||||||
numChannels | |||||||||||||||
receivedSampleRate | |||||||||||||||
receivedBitrate | |||||||||||||||
totalFrozenTime | |||||||||||||||
frozenRate | |||||||||||||||
totalActiveTime | |||||||||||||||
publishDuration | |||||||||||||||
qoeQuality | 接收远端音频时,本地用户的主观体验质量。详见 EXPERIENCE_QUALITY_TYPE。 | ||||||||||||||
qualityChangedReason | 接收远端音频时,本地用户主观体验质量较差的原因。详见 EXPERIENCE_POOR_REASON。 | ||||||||||||||
mosValue | 统计周期内,声网实时音频 MOS(平均主观意见分)评估方法对接收到的远端音频流的质量评分。返回值范围为 [0,500]。返回值除以 100 即可得到 MOS 分数,范围为 [0,5] 分,分数越高,音频质量越好。 声网实时音频 MOS 评分对应的主观音质感受如下:
| ||||||||||||||
e2eDelay |