QNStatisticsReport
QNStatisticsReport
提供了实时音视频互动过程中的统计信息,具体的回调统计信息如下:
public class QNStatisticsReport {
/**
* 用户 User id
*/
public String userId;
/**
* 用户 Track id.
*/
public String trackId;
/**
* Track 类型
*/
public QNTrackKind trackKind;
/**
* 视频码率, 单位bps
*/
public int videoBitrate;
/**
* 丢包率, 单位 %
*/
public int videoPacketLostRate;
/**
* 图像宽度
*/
public int width;
/**
* 图像高度
*/
public int height;
/**
* 帧率
*/
public int frameRate;
/**
* 音频码率, bps
*/
public int audioBitrate;
/**
* 音频丢包率, 单位 %
*/
public int audioPacketLostRate;
/**
* 上行 RTT 时间,-1 表示还未获取
*/
public int rtt;
/**
* 网络质量等级 1 - 优,2 - 良,3 - 一般,4 - 较差,-1 表示还未获取
*/
public int networkGrade;
}