AliVCSDK 6.17.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
 
载入中...
搜索中...
未找到
com.alivc.live.pusher.AlivcLivePushStatsInfo类 参考

推流统计类 更多...

class  RtcStats
 

Public 成员函数

String toString ()
 

Public 属性

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
 

详细描述

推流统计类

作者
阿里云直播推流SDK
调用示例
参见
com.alivc.live.pusher.AlivcLivePushInfoListener::onPushStatistics(AlivcLivePusher, AlivcLivePushStatsInfo)

在文件 AlivcLivePushStatsInfo.java11 行定义.

成员函数说明

◆ toString()

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

在文件 AlivcLivePushStatsInfo.java428 行定义.

类成员变量说明

◆ audioCaptureFps

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

音频采集帧率

在文件 AlivcLivePushStatsInfo.java24 行定义.

◆ audioCaptureVolume

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

音频采集音量

在文件 AlivcLivePushStatsInfo.java29 行定义.

◆ audioCapturingSampleRate

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

音频采样帧率

在文件 AlivcLivePushStatsInfo.java294 行定义.

◆ audioDurationFromCaptureToUpload

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

音频延迟时长,当前last packet pts - cur capture pts,单位毫秒

在文件 AlivcLivePushStatsInfo.java203 行定义.

◆ audioEncodeBitrate

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

音频编码码率,单位kbps

在文件 AlivcLivePushStatsInfo.java35 行定义.

◆ audioEncodeFps

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

音频编码帧率

在文件 AlivcLivePushStatsInfo.java40 行定义.

◆ audioFrameInEncodeBuffer

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

音频编码队列中的音频帧数量

在文件 AlivcLivePushStatsInfo.java45 行定义.

◆ audioLostRate

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

音频丢包率()

在文件 AlivcLivePushStatsInfo.java279 行定义.

◆ audioPacketsInUploadBuffer

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

音频上传队列的音频帧数量

在文件 AlivcLivePushStatsInfo.java118 行定义.

◆ audioReSendBitRate

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

音频重传码率(kbps)

在文件 AlivcLivePushStatsInfo.java289 行定义.

◆ audioUploadBitrate

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

音频上传码率,单位kbps

在文件 AlivcLivePushStatsInfo.java108 行定义.

◆ audioUploadFps

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

音频上传帧率

在文件 AlivcLivePushStatsInfo.java133 行定义.

◆ audioVideoPtsDiff

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

音视频pts差异

在文件 AlivcLivePushStatsInfo.java213 行定义.

◆ avPTSInterval

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

当前发送的音视频包pts diff

在文件 AlivcLivePushStatsInfo.java254 行定义.

◆ cpu

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

本应用占用cpu百分比,单位%

在文件 AlivcLivePushStatsInfo.java234 行定义.

◆ currentUploadedAudioFramePts

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

当前上传音频帧PTS

在文件 AlivcLivePushStatsInfo.java143 行定义.

◆ currentUploadedVideoFramePts

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

当前上传视频帧PTS

在文件 AlivcLivePushStatsInfo.java138 行定义.

◆ currentUploadPacketSize

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

当前上传帧大小,单位byte

在文件 AlivcLivePushStatsInfo.java208 行定义.

◆ lastAudioFramePTSInQueue

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

带发送队列中最后一个音频包的pts

在文件 AlivcLivePushStatsInfo.java249 行定义.

◆ lastAudioPtsInBuffer

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

缓冲区中最后一帧音频

在文件 AlivcLivePushStatsInfo.java158 行定义.

◆ lastVideoFramePTSInQueue

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

待发送队列中最后一个视频包的pts

在文件 AlivcLivePushStatsInfo.java244 行定义.

◆ lastVideoPtsInBuffer

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

缓冲区中最后一帧视频

在文件 AlivcLivePushStatsInfo.java153 行定义.

◆ maxSizeOfAudioPacketsInBuffer

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

缓冲队列中曾经最大的音频帧size

在文件 AlivcLivePushStatsInfo.java228 行定义.

◆ maxSizeOfVideoPacketsInBuffer

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

缓冲队列中曾经最大的视频帧size

在文件 AlivcLivePushStatsInfo.java223 行定义.

◆ memory

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

内存消耗,单位M

在文件 AlivcLivePushStatsInfo.java239 行定义.

◆ previousVideoKeyFramePts

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

上一个视频关键帧PTS

在文件 AlivcLivePushStatsInfo.java148 行定义.

◆ publishType

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

流类型:1:rtmp协议流 2:rtp协议流 3:rtc协议流

在文件 AlivcLivePushStatsInfo.java314 行定义.

◆ rtcStats

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

直播连麦场景下,RTC相关的上下行数据

注意
非互动模式暂不支持该API
注解
非直播连麦场景下,值为空

在文件 AlivcLivePushStatsInfo.java322 行定义.

◆ rtt

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

网络往返延时(ms)

在文件 AlivcLivePushStatsInfo.java269 行定义.

◆ totalDroppedAudioFrames

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

音频丢帧

在文件 AlivcLivePushStatsInfo.java264 行定义.

◆ totalDurationOfDroppingVideoFrames

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

视频丢帧总数

在文件 AlivcLivePushStatsInfo.java178 行定义.

◆ totalFramesOfEncodedVideo

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

视频编码总帧数

在文件 AlivcLivePushStatsInfo.java81 行定义.

◆ totalFramesOfUploadedVideo

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

当前视频流已发送总帧数

在文件 AlivcLivePushStatsInfo.java173 行定义.

◆ totalSentPacketSizeInTwoSecond

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

两秒内上传数据总大小,单位byte

在文件 AlivcLivePushStatsInfo.java218 行定义.

◆ totalSizeOfUploadedPackets

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

数据上传总大小

在文件 AlivcLivePushStatsInfo.java163 行定义.

◆ totalTimeOfEncodedVideo

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

视频编码总耗时

在文件 AlivcLivePushStatsInfo.java86 行定义.

◆ totalTimeOfUploading

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

视频推流总耗时

在文件 AlivcLivePushStatsInfo.java168 行定义.

◆ totalTimesOfDisconnect

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

总的断网次数

在文件 AlivcLivePushStatsInfo.java188 行定义.

◆ totalTimesOfDroppingVideoFrames

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

视频丢帧次数

在文件 AlivcLivePushStatsInfo.java183 行定义.

◆ totalTimesOfReconnect

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

总的重连次数

在文件 AlivcLivePushStatsInfo.java193 行定义.

◆ videoAvgQp

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

每秒平均QP

在文件 AlivcLivePushStatsInfo.java101 行定义.

◆ videoCaptureFps

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

视频采集帧率(实时帧率)

在文件 AlivcLivePushStatsInfo.java17 行定义.

◆ videoDurationFromCaptureToUpload

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

视频延迟时长,当前last packet pts - cur capture pts,单位毫秒

在文件 AlivcLivePushStatsInfo.java198 行定义.

◆ videoEncodeBitrate

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

视频编码码率,单位kbps

在文件 AlivcLivePushStatsInfo.java71 行定义.

◆ videoEncodeFps

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

视频编码帧率(实时帧率)

在文件 AlivcLivePushStatsInfo.java76 行定义.

◆ videoEncodeMode

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

视频编码模式

在文件 AlivcLivePushStatsInfo.java66 行定义.

◆ videoEncodeParam

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

视频编码器设置参数

在文件 AlivcLivePushStatsInfo.java91 行定义.

◆ videoEncodingGopSize

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

视频GOP大小

在文件 AlivcLivePushStatsInfo.java299 行定义.

◆ videoEncodingHeight

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

编码图像的高

在文件 AlivcLivePushStatsInfo.java309 行定义.

◆ videoEncodingWidth

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

编码图像的宽

在文件 AlivcLivePushStatsInfo.java304 行定义.

◆ videoFramesInEncodeBuffer

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

视频编码队列中视频帧数

在文件 AlivcLivePushStatsInfo.java96 行定义.

◆ videoFramesInRenderBuffer

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

视频渲染队列中的视频帧数量

在文件 AlivcLivePushStatsInfo.java58 行定义.

◆ videoLostRate

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

视频丢包率()

在文件 AlivcLivePushStatsInfo.java274 行定义.

◆ videoPacketsInUploadBuffer

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

视频上传队列的视频帧数量

在文件 AlivcLivePushStatsInfo.java123 行定义.

◆ videoRenderConsumingTimePerFrame

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

每帧平均渲染时长,单位ms

在文件 AlivcLivePushStatsInfo.java259 行定义.

◆ videoRenderFps

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

视频渲染帧率

在文件 AlivcLivePushStatsInfo.java53 行定义.

◆ videoReSendBitRate

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

视频重传码率(kbps)

在文件 AlivcLivePushStatsInfo.java284 行定义.

◆ videoUploadBitrate

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

视频上传码率,单位kbps

在文件 AlivcLivePushStatsInfo.java113 行定义.

◆ videoUploadFps

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

视频上传帧率

在文件 AlivcLivePushStatsInfo.java128 行定义.