Constructor
new TRTCRemoteStatistics(userId, finalLoss, width, height, frameRate, videoBitrate, audioSampleRate, audioBitrate, jitterBufferDelay, audioTotalBlockTime, audioBlockRate, videoTotalBlockTime, videoBlockRate, streamType)
Parameters:
Name | Type | Description |
---|---|---|
userId |
String |
用户 ID,指定是哪个用户的视频流 |
finalLoss |
Number |
该线路的总丢包率(%) 这个值越小越好,比如:0%的丢包率代表网络很好。 这个丢包率是该线路的 userId 从上行到服务器再到下行的总丢包率。 如果 downLoss 为 0%, 但是 finalLoss 不为0%,说明该 userId 在上行就出现了无法恢复的丢包。 |
width |
Number |
视频宽度 |
height |
Number |
视频高度 |
frameRate |
Number |
接收帧率(fps) |
videoBitrate |
Number |
视频码率(Kbps) |
audioSampleRate |
Number |
音频采样率(Hz) |
audioBitrate |
Number |
音频码率(Kbps) |
jitterBufferDelay |
Number |
播放时延(ms) |
audioTotalBlockTime |
Number |
音频播放卡顿累计时长(ms) |
audioBlockRate |
Number |
音频播放卡顿率,音频卡顿累计时长占音频总播放时长的百分比 (%) |
videoTotalBlockTime |
Number |
视频播放卡顿累计时长(ms) |
videoBlockRate |
Number |
视频播放卡顿率,视频卡顿累计时长占音频总播放时长的百分比(%) |
streamType |
TRTCVideoStreamType |
流类型(大画面 | 小画面 | 辅路画面) |