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

Live push statistics info. More...

Classes

class  RtcStats
 

Public Member Functions

String toString ()
 

Public Attributes

int videoCaptureFps
 
int audioCaptureFps
 
int audioCaptureVolume
 
int audioEncodeBitrate
 
int audioEncodeFps
 
int audioFrameInEncodeBuffer
 
int videoRenderFps
 
int videoFramesInRenderBuffer
 
AlivcEncodeModeEnum videoEncodeMode
 
int videoEncodeBitrate
 
int videoEncodeFps
 
long totalFramesOfEncodedVideo
 
long totalTimeOfEncodedVideo
 
int videoEncodeParam
 
int videoFramesInEncodeBuffer
 
int videoAvgQp
 
int audioUploadBitrate
 
int videoUploadBitrate
 
int audioPacketsInUploadBuffer
 
int videoPacketsInUploadBuffer
 
int videoUploadFps
 
int audioUploadFps
 
long currentUploadedVideoFramePts
 
long currentUploadedAudioFramePts
 
long previousVideoKeyFramePts
 
long lastVideoPtsInBuffer
 
long lastAudioPtsInBuffer
 
long totalSizeOfUploadedPackets
 
long totalTimeOfUploading
 
long totalFramesOfUploadedVideo
 
long totalDurationOfDroppingVideoFrames
 
long totalTimesOfDroppingVideoFrames
 
int totalTimesOfDisconnect
 
int totalTimesOfReconnect
 
int videoDurationFromCaptureToUpload
 
int audioDurationFromCaptureToUpload
 
int currentUploadPacketSize
 
int audioVideoPtsDiff
 
long totalSentPacketSizeInTwoSecond
 
int maxSizeOfVideoPacketsInBuffer
 
int maxSizeOfAudioPacketsInBuffer
 
float cpu
 
float memory
 
long lastVideoFramePTSInQueue
 
long lastAudioFramePTSInQueue
 
long avPTSInterval
 
int videoRenderConsumingTimePerFrame
 
int totalDroppedAudioFrames
 
int rtt
 
int videoLostRate
 
int audioLostRate
 
int videoReSendBitRate
 
int audioReSendBitRate
 
int audioCapturingSampleRate
 
int videoEncodingGopSize
 
int videoEncodingWidth
 
int videoEncodingHeight
 
int publishType
 
RtcStats rtcStats = null
 

Detailed Description

Live push statistics info.

Author
aliyun live push sdk
Call Example
See also
com.alivc.live.pusher.AlivcLivePushInfoListener::onPushStatistics(AlivcLivePusher, AlivcLivePushStatsInfo)

Definition at line 11 of file AlivcLivePushStatsInfo.java.

Member Function Documentation

◆ toString()

String com.alivc.live.pusher.AlivcLivePushStatsInfo.toString ( )

Definition at line 428 of file AlivcLivePushStatsInfo.java.

Member Data Documentation

◆ audioCaptureFps

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioCaptureFps

Audio capture frame rate

Definition at line 24 of file AlivcLivePushStatsInfo.java.

◆ audioCaptureVolume

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioCaptureVolume

Audio capture volume

Definition at line 29 of file AlivcLivePushStatsInfo.java.

◆ audioCapturingSampleRate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioCapturingSampleRate

Audio capturing sample frame rate

Definition at line 294 of file AlivcLivePushStatsInfo.java.

◆ audioDurationFromCaptureToUpload

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioDurationFromCaptureToUpload

Audio delay duration, current last packet pts - cur capture pts, in milliseconds

Definition at line 203 of file AlivcLivePushStatsInfo.java.

◆ audioEncodeBitrate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioEncodeBitrate

Audio encoding bitrate in kbps

Definition at line 35 of file AlivcLivePushStatsInfo.java.

◆ audioEncodeFps

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioEncodeFps

audio encode frame rate

Definition at line 40 of file AlivcLivePushStatsInfo.java.

◆ audioFrameInEncodeBuffer

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioFrameInEncodeBuffer

The number of audio frames in the audio encoding queue

Definition at line 45 of file AlivcLivePushStatsInfo.java.

◆ audioLostRate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioLostRate

Audio packet loss rate (%)

Definition at line 279 of file AlivcLivePushStatsInfo.java.

◆ audioPacketsInUploadBuffer

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioPacketsInUploadBuffer

The number of audio frames in the audio upload queue

Definition at line 118 of file AlivcLivePushStatsInfo.java.

◆ audioReSendBitRate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioReSendBitRate

Audio retransmission rate (kbps)

Definition at line 289 of file AlivcLivePushStatsInfo.java.

◆ audioUploadBitrate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioUploadBitrate

Audio upload bitrate in kbps

Definition at line 108 of file AlivcLivePushStatsInfo.java.

◆ audioUploadFps

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioUploadFps

Audio upload frame rate

Definition at line 133 of file AlivcLivePushStatsInfo.java.

◆ audioVideoPtsDiff

int com.alivc.live.pusher.AlivcLivePushStatsInfo.audioVideoPtsDiff

Differences in audio and video PTS

Definition at line 213 of file AlivcLivePushStatsInfo.java.

◆ avPTSInterval

long com.alivc.live.pusher.AlivcLivePushStatsInfo.avPTSInterval

The current audio and video packet sent has pts diff

Definition at line 254 of file AlivcLivePushStatsInfo.java.

◆ cpu

float com.alivc.live.pusher.AlivcLivePushStatsInfo.cpu

The percentage of CPU occupied by this application, in%

Definition at line 234 of file AlivcLivePushStatsInfo.java.

◆ currentUploadedAudioFramePts

long com.alivc.live.pusher.AlivcLivePushStatsInfo.currentUploadedAudioFramePts

Current uploaded audio frame PTS

Definition at line 143 of file AlivcLivePushStatsInfo.java.

◆ currentUploadedVideoFramePts

long com.alivc.live.pusher.AlivcLivePushStatsInfo.currentUploadedVideoFramePts

Current uploaded video frame PTS

Definition at line 138 of file AlivcLivePushStatsInfo.java.

◆ currentUploadPacketSize

int com.alivc.live.pusher.AlivcLivePushStatsInfo.currentUploadPacketSize

Current uploaded frame size, in bytes

Definition at line 208 of file AlivcLivePushStatsInfo.java.

◆ lastAudioFramePTSInQueue

long com.alivc.live.pusher.AlivcLivePushStatsInfo.lastAudioFramePTSInQueue

PTS with the last audio packet in the sending queue

Definition at line 249 of file AlivcLivePushStatsInfo.java.

◆ lastAudioPtsInBuffer

long com.alivc.live.pusher.AlivcLivePushStatsInfo.lastAudioPtsInBuffer

Last frame of audio in buffer

Definition at line 158 of file AlivcLivePushStatsInfo.java.

◆ lastVideoFramePTSInQueue

long com.alivc.live.pusher.AlivcLivePushStatsInfo.lastVideoFramePTSInQueue

PTS of the last video packet in the queue to be sent

Definition at line 244 of file AlivcLivePushStatsInfo.java.

◆ lastVideoPtsInBuffer

long com.alivc.live.pusher.AlivcLivePushStatsInfo.lastVideoPtsInBuffer

The last frame of video in the buffer

Definition at line 153 of file AlivcLivePushStatsInfo.java.

◆ maxSizeOfAudioPacketsInBuffer

int com.alivc.live.pusher.AlivcLivePushStatsInfo.maxSizeOfAudioPacketsInBuffer

The previously largest audio frame size in the buffer queue

Definition at line 228 of file AlivcLivePushStatsInfo.java.

◆ maxSizeOfVideoPacketsInBuffer

int com.alivc.live.pusher.AlivcLivePushStatsInfo.maxSizeOfVideoPacketsInBuffer

The previously largest video frame size in the buffer queue

Definition at line 223 of file AlivcLivePushStatsInfo.java.

◆ memory

float com.alivc.live.pusher.AlivcLivePushStatsInfo.memory

Memory consumption, in units of M

Definition at line 239 of file AlivcLivePushStatsInfo.java.

◆ previousVideoKeyFramePts

long com.alivc.live.pusher.AlivcLivePushStatsInfo.previousVideoKeyFramePts

Previous video keyframe PTS

Definition at line 148 of file AlivcLivePushStatsInfo.java.

◆ publishType

int com.alivc.live.pusher.AlivcLivePushStatsInfo.publishType

Stream type: 1: rtmp protocol stream 2: rtp protocol stream 3: rtc protocol stream

Definition at line 314 of file AlivcLivePushStatsInfo.java.

◆ rtcStats

RtcStats com.alivc.live.pusher.AlivcLivePushStatsInfo.rtcStats = null

RTC related uplink and downlink data in live interactive streaming scenarios

Attention
This API is only supported in the interactive mode currently
Note
If current scenario is not interactive, the value is empty

Definition at line 322 of file AlivcLivePushStatsInfo.java.

◆ rtt

int com.alivc.live.pusher.AlivcLivePushStatsInfo.rtt

Network round-trip delay (ms)

Definition at line 269 of file AlivcLivePushStatsInfo.java.

◆ totalDroppedAudioFrames

int com.alivc.live.pusher.AlivcLivePushStatsInfo.totalDroppedAudioFrames

Audio frame loss

Definition at line 264 of file AlivcLivePushStatsInfo.java.

◆ totalDurationOfDroppingVideoFrames

long com.alivc.live.pusher.AlivcLivePushStatsInfo.totalDurationOfDroppingVideoFrames

Total number of video frames lost

Definition at line 178 of file AlivcLivePushStatsInfo.java.

◆ totalFramesOfEncodedVideo

long com.alivc.live.pusher.AlivcLivePushStatsInfo.totalFramesOfEncodedVideo

Total frame rate of video encoding

Definition at line 81 of file AlivcLivePushStatsInfo.java.

◆ totalFramesOfUploadedVideo

long com.alivc.live.pusher.AlivcLivePushStatsInfo.totalFramesOfUploadedVideo

The total number of frames sent in the current video stream

Definition at line 173 of file AlivcLivePushStatsInfo.java.

◆ totalSentPacketSizeInTwoSecond

long com.alivc.live.pusher.AlivcLivePushStatsInfo.totalSentPacketSizeInTwoSecond

The total size of data uploaded within two seconds, in bytes

Definition at line 218 of file AlivcLivePushStatsInfo.java.

◆ totalSizeOfUploadedPackets

long com.alivc.live.pusher.AlivcLivePushStatsInfo.totalSizeOfUploadedPackets

Total size of data upload

Definition at line 163 of file AlivcLivePushStatsInfo.java.

◆ totalTimeOfEncodedVideo

long com.alivc.live.pusher.AlivcLivePushStatsInfo.totalTimeOfEncodedVideo

Total video encoding time

Definition at line 86 of file AlivcLivePushStatsInfo.java.

◆ totalTimeOfUploading

long com.alivc.live.pusher.AlivcLivePushStatsInfo.totalTimeOfUploading

Total video streaming time

Definition at line 168 of file AlivcLivePushStatsInfo.java.

◆ totalTimesOfDisconnect

int com.alivc.live.pusher.AlivcLivePushStatsInfo.totalTimesOfDisconnect

Total number of network disconnections

Definition at line 188 of file AlivcLivePushStatsInfo.java.

◆ totalTimesOfDroppingVideoFrames

long com.alivc.live.pusher.AlivcLivePushStatsInfo.totalTimesOfDroppingVideoFrames

Video frame loss count

Definition at line 183 of file AlivcLivePushStatsInfo.java.

◆ totalTimesOfReconnect

int com.alivc.live.pusher.AlivcLivePushStatsInfo.totalTimesOfReconnect

Total number of reconnections

Definition at line 193 of file AlivcLivePushStatsInfo.java.

◆ videoAvgQp

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoAvgQp

Average QP per second

Definition at line 101 of file AlivcLivePushStatsInfo.java.

◆ videoCaptureFps

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoCaptureFps

Video capture frame rate (real-time frame rate)

Definition at line 17 of file AlivcLivePushStatsInfo.java.

◆ videoDurationFromCaptureToUpload

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoDurationFromCaptureToUpload

Video delay duration, current last packet pts - cur capture pts, in milliseconds

Definition at line 198 of file AlivcLivePushStatsInfo.java.

◆ videoEncodeBitrate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoEncodeBitrate

Video encoding rate in kbps

Definition at line 71 of file AlivcLivePushStatsInfo.java.

◆ videoEncodeFps

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoEncodeFps

Video encoding frame rate (real-time frame rate)

Definition at line 76 of file AlivcLivePushStatsInfo.java.

◆ videoEncodeMode

AlivcEncodeModeEnum com.alivc.live.pusher.AlivcLivePushStatsInfo.videoEncodeMode

streaming video encode mode

Definition at line 66 of file AlivcLivePushStatsInfo.java.

◆ videoEncodeParam

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoEncodeParam

Video encoder setting parameters

Definition at line 91 of file AlivcLivePushStatsInfo.java.

◆ videoEncodingGopSize

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoEncodingGopSize

Video GOP size

Definition at line 299 of file AlivcLivePushStatsInfo.java.

◆ videoEncodingHeight

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoEncodingHeight

The height of the encoded image

Definition at line 309 of file AlivcLivePushStatsInfo.java.

◆ videoEncodingWidth

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoEncodingWidth

The width of the encoded image

Definition at line 304 of file AlivcLivePushStatsInfo.java.

◆ videoFramesInEncodeBuffer

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoFramesInEncodeBuffer

The number of video frames in the video encoding queue

Definition at line 96 of file AlivcLivePushStatsInfo.java.

◆ videoFramesInRenderBuffer

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoFramesInRenderBuffer

The number of video frames in the video rendering queue

Definition at line 58 of file AlivcLivePushStatsInfo.java.

◆ videoLostRate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoLostRate

Video packet loss rate (%)

Definition at line 274 of file AlivcLivePushStatsInfo.java.

◆ videoPacketsInUploadBuffer

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoPacketsInUploadBuffer

The number of video frames in the video upload queue

Definition at line 123 of file AlivcLivePushStatsInfo.java.

◆ videoRenderConsumingTimePerFrame

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoRenderConsumingTimePerFrame

Average rendering time per frame, in milliseconds

Definition at line 259 of file AlivcLivePushStatsInfo.java.

◆ videoRenderFps

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoRenderFps

Video rendering frame rate

Definition at line 53 of file AlivcLivePushStatsInfo.java.

◆ videoReSendBitRate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoReSendBitRate

Video retransmission rate (kbps)

Definition at line 284 of file AlivcLivePushStatsInfo.java.

◆ videoUploadBitrate

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoUploadBitrate

Video upload bitrate in kbps

Definition at line 113 of file AlivcLivePushStatsInfo.java.

◆ videoUploadFps

int com.alivc.live.pusher.AlivcLivePushStatsInfo.videoUploadFps

Video upload frame rate

Definition at line 128 of file AlivcLivePushStatsInfo.java.