AliVCSDK 6.17.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
 
Loading...
Searching...
No Matches
com.alivc.live.player.AlivcLivePlayerStatsInfo Class Reference

Live play statistics info. More...

Public Member Functions

String toString ()
 

Public Attributes

String userId = ""
 
String channelId = ""
 
int videoWidth = 0
 
int videoHeight = 0
 
int decodeFps = 0
 
int renderFps = 0
 
int videoBitrate = 0
 
int totalAudioFrozenTime = 0
 
int videoFrozenRate = 0
 
int totalVideoFrozenTimes = 0
 
int audioFrozenRate = 0
 
AlivcLiveAudioQuality audioQuality = AlivcLiveAudioQuality.MEDIUM
 
int audioBitrate = 0
 
int audioLossRate = 0
 
int jitterBufferDelay = 0
 
int networkTransportDelay = 0
 
long lastMileDelay = 0
 
float cpuUsage = 0f
 
float systemCpuUsage = 0f
 
int lossRate = 0
 

Detailed Description

Live play statistics info.

Author
baorunchen
Date
2023/3/10
Attention
This API is only supported in the interactive mode currently
See also
com.alivc.live.player.AlivcLivePlayInfoListener::onPlayerStatistics(AlivcLivePlayerStatsInfo)

Definition at line 15 of file AlivcLivePlayerStatsInfo.java.

Member Function Documentation

◆ toString()

String com.alivc.live.player.AlivcLivePlayerStatsInfo.toString ( )

Definition at line 128 of file AlivcLivePlayerStatsInfo.java.

Member Data Documentation

◆ audioBitrate

int com.alivc.live.player.AlivcLivePlayerStatsInfo.audioBitrate = 0

audio bitrate

Note
kbps

Definition at line 88 of file AlivcLivePlayerStatsInfo.java.

◆ audioFrozenRate

int com.alivc.live.player.AlivcLivePlayerStatsInfo.audioFrozenRate = 0

The frozen rate of video playback, unit: %

Note
Calculation method: frozen rate =cumulative frozen time of audio playback/total duration of audio playback

Definition at line 76 of file AlivcLivePlayerStatsInfo.java.

◆ audioLossRate

int com.alivc.live.player.AlivcLivePlayerStatsInfo.audioLossRate = 0

audio loss rate

Definition at line 93 of file AlivcLivePlayerStatsInfo.java.

◆ audioQuality

AlivcLiveAudioQuality com.alivc.live.player.AlivcLivePlayerStatsInfo.audioQuality = AlivcLiveAudioQuality.MEDIUM

audio quality

Definition at line 81 of file AlivcLivePlayerStatsInfo.java.

◆ channelId

String com.alivc.live.player.AlivcLivePlayerStatsInfo.channelId = ""

channel id

Definition at line 25 of file AlivcLivePlayerStatsInfo.java.

◆ cpuUsage

float com.alivc.live.player.AlivcLivePlayerStatsInfo.cpuUsage = 0f

CPU Usage,unit: %

Definition at line 115 of file AlivcLivePlayerStatsInfo.java.

◆ decodeFps

int com.alivc.live.player.AlivcLivePlayerStatsInfo.decodeFps = 0

decode FPS

Definition at line 40 of file AlivcLivePlayerStatsInfo.java.

◆ jitterBufferDelay

int com.alivc.live.player.AlivcLivePlayerStatsInfo.jitterBufferDelay = 0

jitter buffer delay

Definition at line 98 of file AlivcLivePlayerStatsInfo.java.

◆ lastMileDelay

long com.alivc.live.player.AlivcLivePlayerStatsInfo.lastMileDelay = 0

last mile delay, Client-server latency (ms)

Note
Network latency from local clients to edge servers

Definition at line 110 of file AlivcLivePlayerStatsInfo.java.

◆ lossRate

int com.alivc.live.player.AlivcLivePlayerStatsInfo.lossRate = 0

loss rate

Definition at line 125 of file AlivcLivePlayerStatsInfo.java.

◆ networkTransportDelay

int com.alivc.live.player.AlivcLivePlayerStatsInfo.networkTransportDelay = 0

network transport delay

Definition at line 103 of file AlivcLivePlayerStatsInfo.java.

◆ renderFps

int com.alivc.live.player.AlivcLivePlayerStatsInfo.renderFps = 0

render FPS

Definition at line 45 of file AlivcLivePlayerStatsInfo.java.

◆ systemCpuUsage

float com.alivc.live.player.AlivcLivePlayerStatsInfo.systemCpuUsage = 0f

System CPU Usage,unit: %

Definition at line 120 of file AlivcLivePlayerStatsInfo.java.

◆ totalAudioFrozenTime

int com.alivc.live.player.AlivcLivePlayerStatsInfo.totalAudioFrozenTime = 0

total audio frozen times

Definition at line 57 of file AlivcLivePlayerStatsInfo.java.

◆ totalVideoFrozenTimes

int com.alivc.live.player.AlivcLivePlayerStatsInfo.totalVideoFrozenTimes = 0

total video frozen times

Definition at line 69 of file AlivcLivePlayerStatsInfo.java.

◆ userId

String com.alivc.live.player.AlivcLivePlayerStatsInfo.userId = ""

user id

Definition at line 20 of file AlivcLivePlayerStatsInfo.java.

◆ videoBitrate

int com.alivc.live.player.AlivcLivePlayerStatsInfo.videoBitrate = 0

video bitrate

Note
kbps

Definition at line 52 of file AlivcLivePlayerStatsInfo.java.

◆ videoFrozenRate

int com.alivc.live.player.AlivcLivePlayerStatsInfo.videoFrozenRate = 0

The frozen rate of video playback, unit: %

Note
Calculation method: frozen rate =cumulative frozen time of video playback/total duration of video playback

Definition at line 64 of file AlivcLivePlayerStatsInfo.java.

◆ videoHeight

int com.alivc.live.player.AlivcLivePlayerStatsInfo.videoHeight = 0

video height

Definition at line 35 of file AlivcLivePlayerStatsInfo.java.

◆ videoWidth

int com.alivc.live.player.AlivcLivePlayerStatsInfo.videoWidth = 0

video width

Definition at line 30 of file AlivcLivePlayerStatsInfo.java.