public class AlivcLivePushStatsInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
mAlivcLivePushPublishType
PublishType:1:rtmp 2:rtp
|
private int |
mAudioCaptureFps
The frame rate for audio collection.
|
private int |
mAudioCapturingSampleRate
SampleRate
|
private int |
mAudioDurationFromeCaptureToUpload
The audio latency.
|
private int |
mAudioEncodeBitrate
The bitrate for audio encoding.
|
private int |
mAudioEncodeFps |
private int |
mAudioFrameInEncodeBuffer
The number of audio frames in the queue of audio encoding.
|
private int |
mAudioLostRate
The packet loss rate of the audio.
|
private int |
mAudioPacketsInUploadBuffer
The number of audio frames in the queue of audio upload.
|
private int |
mAudioReSendBitRate
The bitrate for audio reupload.
|
private int |
mAudioUploadBitrate
The output bitrate of the audio.
|
private int |
mAudioUploadFps
The frame rate for audio upload.
|
private int |
mAudioVideoPtsDiff
The PTS difference between the audio and video.
|
private long |
mAvPTSInterval
The PTS difference between the audio and video packages that are being sent.
|
private float |
mCpu
The percentage of the CPU that is occupied by the application.
|
private long |
mCurrentlyUploadedAudioFramePts
The PTS of the audio frame that is being uploaded.
|
private long |
mCurrentlyUploadedVideoFramePts
The PTS of the video frame that is being uploaded.
|
private int |
mCurrentUploadPacketSize
The size of the frame that is being uploaded.
|
private long |
mLastAudioFramePTSInQueue
The PTS of the last audio package to be sent in the queue.
|
private long |
mLastAudioPtsInBuffer
The last frame of audio in the buffer.
|
private long |
mLastVideoFramePTSInQueue
The PTS of the last video package to be sent in the queue.
|
private long |
mLastVideoPtsInBuffer
The last frame of video in the buffer.
|
private int |
mMaxSizeOfAudioPacketsInBuffer
The size of the largest audio frame in the buffer queue.
|
private int |
mMaxSizeOfVideoPacketsInBuffer
The size of the largest video frame in the buffer queue.
|
private float |
mMemory
The memory usage.
|
private long |
mPreviousVideoKeyFramePts
The PTS of the last video keyframe.
|
private int |
mRtt
The round-trip time (RTT).
|
private int |
mTotalDroppedAudioFrames
The frame drop of the audio.
|
private long |
mTotalDurationOfDropingVideoFrames
The total number of dropped video frames.
|
private long |
mTotalFramesOfEncodedVideo
The total number of video frames that are encoded.
|
private long |
mTotalFramesOfUploadedVideo
The total number of sent frames of the current video stream.
|
private long |
mTotalSendedPacketSizeInTwoSecond
The total size of uploaded data within 2 seconds.
|
private long |
mTotalSizeOfUploadedPackets
The total size of uploaded data.
|
private long |
mTotalTimeOfEncodedVideo
The total duration of video encoding.
|
private long |
mTotalTimeOfUploading
The total duration of the stream ingest.
|
private int |
mTotalTimesOfDisconnect
The total number of disconnections.
|
private long |
mTotalTimesOfDropingVideoFrames
The number of video frame drops.
|
private int |
mTotalTimesOfReconnect
The total number of reconnections.
|
private int |
mVideoCaptureFps
The real-time frame rate for video collection.
|
private int |
mVideoDurationFromeCaptureToUpload
The video latency.
|
private int |
mVideoEncodeBitrate
The bitrate for video encoding.
|
private int |
mVideoEncodeFps
The real-time frame rate for video encoding.
|
private AlivcEncodeModeEnum |
mVideoEncodeMode
The mode of video encoding.
|
private int |
mVideoEncodeParam
The parameters for the video encoder.
|
private int |
mVideoEncodingGopSize
EncodingGopSize
|
private int |
mVideoEncodingHeight
EncodingHeight
|
private int |
mVideoEncodingWidth
EncodingWidth
|
private int |
mVideoFramesInEncodeBuffer
The number of video frames in the queue of video encoding.
|
private int |
mVideoFramesInRenderBuffer
The number of video frames in the queue of video rendering.
|
private int |
mVideoLostRate
The packet loss rate of the video.
|
private int |
mVideoPacketsInUploadBuffer
The number of video frames in the queue of video upload.
|
private int |
mVideoRenderConsumingTimePerFrame
The average rendering duration for each frame.
|
private int |
mVideoRenderFps
The frame rate for video recording.
|
private int |
mVideoReSendBitRate
The bitrate for video reupload.
|
private int |
mVideoUploadBitrate
The output bitrate of the video.
|
private int |
mVideoUploadeFps
The frame rate for video upload.
|
Constructor and Description |
---|
AlivcLivePushStatsInfo() |
Modifier and Type | Method and Description |
---|---|
int |
getAlivcLivePushPublishType() |
int |
getAudioCaptureFps()
Query the frame rate for audio collection.
|
int |
getAudioCapturingSampleRate() |
int |
getAudioDurationFromeCaptureToUpload()
Query the period between the collection and upload of audio frames.
|
int |
getAudioEncodeBitrate()
getAudioEncodeBitrate
|
int |
getAudioEncodeFps() |
int |
getAudioFrameInEncodeBuffer()
Query the number of audio frames in the queue of audio encoding.
|
int |
getAudioLostRate() |
int |
getAudioPacketsInUploadBuffer()
Query the number of audio packages in the buffer.
|
int |
getAudioReSendBitRate() |
int |
getAudioUploadBitrate()
Query the bitrate for audio upload.
|
int |
getAudioUploadFps()
Query the frame rate for audio upload.
|
int |
getAudioVideoPtsDiff()
Query the PTS difference between the audio and video.
|
long |
getAvPTSInterval() |
float |
getCpu()
Query the percentage of the occupied CPU.
|
long |
getCurrentlyUploadedAudioFramePts()
Query the PTS of the audio frame that is being uploaded.
|
long |
getCurrentlyUploadedVideoFramePts()
Query the PTS of the video frame that is being uploaded.
|
int |
getCurrentUploadPacketSize()
Query the size of the frame that is being uploaded.
|
long |
getLastAudioFramePTSInQueue() |
long |
getLastAudioPtsInBuffer()
Query the PTS of the last audio frame in the upload queue.
|
long |
getLastVideoFramePTSInQueue() |
long |
getLastVideoPtsInBuffer()
Query the PTS of the last video frame in the upload queue.
|
int |
getMaxSizeOfAudioPacketsInBuffer()
Query the size of the largest audio frame in the buffer queue.
|
int |
getMaxSizeOfVideoPacketsInBuffer()
Query the size of the largest video frame in the buffer queue.
|
float |
getMemory()
Query the size of the allocated memory.
|
long |
getPreviousVideoKeyFramePts()
Query the PTS of the last video keyframe.
|
int |
getRtt() |
int |
getTotalDroppedAudioFrames() |
long |
getTotalDurationOfDropingVideoFrames()
Query the total duration of dropped frames.
|
long |
getTotalFramesOfEncodedVideo()
Query the total number of encoded video frames.
|
long |
getTotalFramesOfUploadedVideo()
Query the total number of uploaded video frames.
|
long |
getTotalSendedPacketSizeInTwoSecond()
Query the size of the data that is sent within 2 seconds.
|
long |
getTotalSizeOfUploadedPackets()
Query the total size of uploaded frames.
|
long |
getTotalTimeOfEncodedVideo()
Query the total duration of video encoding.
|
long |
getTotalTimeOfUploading()
Query the total duration of stream ingest.
|
int |
getTotalTimesOfDisconnect()
Query the total number of reconnections.
|
long |
getTotalTimesOfDropingVideoFrames()
Query the total duration of dropped frames.
|
int |
getTotalTimesOfReconnect()
Query the total number of reconnections.
|
int |
getVideoCaptureFps()
Query the frame rate for video collection.
|
int |
getVideoDurationFromeCaptureToUpload()
Query the period between the collection and upload of video frames.
|
int |
getVideoEncodeBitrate()
Query the bitrate for video encoding.
|
int |
getVideoEncodeFps()
Query the frame rate for video encoding.
|
AlivcEncodeModeEnum |
getVideoEncodeMode()
Query the mode of video encoding.
|
int |
getVideoEncodeParam()
Query the bitrate for video encoding.
|
int |
getVideoEncodingGopSize() |
int |
getVideoEncodingHeight() |
int |
getVideoEncodingWidth() |
int |
getVideoFramesInEncodeBuffer()
Query the number of video frames in the queue of video encoding.
|
int |
getVideoFramesInRenderBuffer()
Query the number of video frames in the queue of video rendering.
|
int |
getVideoLostRate() |
int |
getVideoPacketsInUploadBuffer()
Query the number of video packages in the buffer.
|
int |
getVideoRenderConsumingTimePerFrame() |
int |
getVideoRenderFps()
Query the frame rate for video rendering.
|
int |
getVideoReSendBitRate() |
int |
getVideoUploadBitrate()
Query the bitrate for video upload.
|
int |
getVideoUploadeFps()
Query the frame rate for video upload.
|
void |
setAlivcLivePushPublishType(int alivcLivePushPublishType) |
protected void |
setAudioCaptureFps(int audioCaptureFps) |
void |
setAudioCapturingSampleRate(int audioCapturingSampleRate) |
protected void |
setAudioDurationFromeCaptureToUpload(int audioDurationFromeCaptureToUpload)
Set the period between the collection and upload of audio frames.
|
protected void |
setAudioEncodeBitrate(int audioEncodeBitrate)
Set the bitrate for audio encoding.
|
void |
setAudioEncodeFps(int audioEncodeFps) |
protected void |
setAudioFrameInEncodeBuffer(int audioFrameInEncodeBuffer) |
protected void |
setAudioLostRate(int bitrate) |
protected void |
setAudioPacketsInUploadBuffer(int audioPacketsInUploadBuffer)
Set the number of audio packages in the buffer.
|
protected void |
setAudioReSendBitRate(int bitrate) |
protected void |
setAudioUploadBitrate(int audioUploadBitrate)
Set the bitrate for audio upload.
|
protected void |
setAudioUploadFps(int audioUploadFps) |
protected void |
setAudioVideoPtsDiff(int audioVideoPtsDiff) |
protected void |
setAvPTSInterval(long mAvPTSInterval) |
protected void |
setCpu(float cpu)
Set the percentage of the occupied CPU.
|
protected void |
setCurrentlyUploadedAudioFramePts(long currentlyUploadedAudioFramePts)
Set the PTS of the audio frame that is being uploaded.
|
protected void |
setCurrentlyUploadedVideoFramePts(long currentlyUploadedVideoFramePts)
Set the PTS of the video frame that is being uploaded.
|
protected void |
setCurrentUploadPacketSize(int currentUploadPacketSize) |
protected void |
setLastAudioFramePTSInQueue(long mLastAudioFramePTSInQueue) |
protected void |
setLastAudioPtsInBuffer(long lastAudioPtsInBuffer) |
void |
setLastVideoFramePTSInQueue(long mLastVideoFramePTSInQueue) |
protected void |
setLastVideoPtsInBuffer(long lastVideoPtsInBuffer) |
protected void |
setMaxSizeOfAudioPacketsInBuffer(int maxSizeOfAudioPacketsInBuffer) |
protected void |
setMaxSizeOfVideoPacketsInBuffer(int maxSizeOfVideoPacketsInBuffer) |
protected void |
setMemory(float mMemory)
Set the size of the allocated memory.
|
protected void |
setPreviousVideoKeyFramePts(long previousKeyFramePts)
Set the PTS of the last video keyframe.
|
protected void |
setRtt(int rtt) |
protected void |
setTotalDroppedAudioFrames(int mTotalDroppedAudioFrames) |
protected void |
setTotalDurationOfDropingVideoFrames(long totalDurationOfDropingVideoFrames)
Set the total duration of dropped frames.
|
protected void |
setTotalFramesOfEncodedVideo(long totalFramesOfEncodedVideo)
Set the total number of encoded video frames.
|
protected void |
setTotalFramesOfUploadedVideo(long totalFramesOfUploadedVideo)
Set the total number of uploaded video frames.
|
protected void |
setTotalSendedPacketSizeInTwoSecond(long totalSendedPacketSizeInTwoSecond) |
protected void |
setTotalSizeOfUploadedPackets(long totalSizeOfUploadedPackets)
Set the total size of uploaded frames.
|
protected void |
setTotalTimeOfEncodedVideo(long totalTimeOfEncodedVideo)
Set the total duration of video encoding.
|
protected void |
setTotalTimeOfUploading(long totalTimeOfUploading)
Set the total duration of stream ingest.
|
protected void |
setTotalTimesOfDisconnect(int totalTimesOfDisconnect) |
protected void |
setTotalTimesOfDropingVideoFrames(long totalTimesOfDropingVideoFrames) |
protected void |
setTotalTimesOfReconnect(int totalTimesOfReconnect) |
protected void |
setVideoCaptureFps(int videoCaptureFps)
Set the frame rate for video collection.
|
protected void |
setVideoDurationFromeCaptureToUpload(int videoDurationFromeCaptureToUpload)
Set the period between the collection and upload of video frames.
|
protected void |
setVideoEncodeBitrate(int videoEncodeBitrate)
Set the bitrate for video encoding.
|
protected void |
setVideoEncodeFps(int videoEncodeFps)
Set the frame rate for video encoding.
|
void |
setVideoEncodeMode(AlivcEncodeModeEnum videoEncodeMode) |
protected void |
setVideoEncodeParam(int videoEncodeParam) |
void |
setVideoEncodingGopSize(int videoEncodingGopSize) |
void |
setVideoEncodingHeight(int videoEncodingHeight) |
void |
setVideoEncodingWidth(int videoEncodingWidth) |
protected void |
setVideoFramesInEncodeBuffer(int videoFramesInEncodeBuffer) |
protected void |
setVideoFramesInRenderBuffer(int videoFramesInRenderBuffer) |
protected void |
setVideoLostRate(int bitrate) |
protected void |
setVideoPacketsInUploadBuffer(int videoPacketsInUploadBuffer)
Set the number of video packages in the buffer.
|
void |
setVideoRenderConsumingTimePerFrame(int videoRenderConsumingTimePerFrame) |
protected void |
setVideoRenderFps(int videoRenderFps) |
protected void |
setVideoReSendBitRate(int bitrate) |
protected void |
setVideoUploadBitrate(int videoUploadBitrate)
Set the bitrate for video upload.
|
protected void |
setVideoUploadeFps(int videoUploadeFps)
Set the frame rate for video upload.
|
private int mVideoCaptureFps
private int mAudioCaptureFps
private int mAudioEncodeBitrate
private int mAudioEncodeFps
private int mAudioFrameInEncodeBuffer
private int mVideoRenderFps
private int mVideoFramesInRenderBuffer
private AlivcEncodeModeEnum mVideoEncodeMode
private int mVideoEncodeBitrate
private int mVideoEncodeFps
private long mTotalFramesOfEncodedVideo
private long mTotalTimeOfEncodedVideo
private int mVideoEncodeParam
private int mVideoFramesInEncodeBuffer
private int mAudioUploadBitrate
private int mVideoUploadBitrate
private int mAudioPacketsInUploadBuffer
private int mVideoPacketsInUploadBuffer
private int mVideoUploadeFps
private int mAudioUploadFps
private long mCurrentlyUploadedVideoFramePts
private long mCurrentlyUploadedAudioFramePts
private long mPreviousVideoKeyFramePts
private long mLastVideoPtsInBuffer
private long mLastAudioPtsInBuffer
private long mTotalSizeOfUploadedPackets
private long mTotalTimeOfUploading
private long mTotalFramesOfUploadedVideo
private long mTotalDurationOfDropingVideoFrames
private long mTotalTimesOfDropingVideoFrames
private int mTotalTimesOfDisconnect
private int mTotalTimesOfReconnect
private int mVideoDurationFromeCaptureToUpload
private int mAudioDurationFromeCaptureToUpload
private int mCurrentUploadPacketSize
private int mAudioVideoPtsDiff
private long mTotalSendedPacketSizeInTwoSecond
private int mMaxSizeOfVideoPacketsInBuffer
private int mMaxSizeOfAudioPacketsInBuffer
private float mCpu
private float mMemory
private long mLastVideoFramePTSInQueue
private long mLastAudioFramePTSInQueue
private long mAvPTSInterval
private int mVideoRenderConsumingTimePerFrame
private int mTotalDroppedAudioFrames
private int mRtt
private int mVideoLostRate
private int mAudioLostRate
private int mVideoReSendBitRate
private int mAudioReSendBitRate
private int mVideoEncodingWidth
private int mAudioCapturingSampleRate
private int mVideoEncodingGopSize
private int mVideoEncodingHeight
private int mAlivcLivePushPublishType
public int getAlivcLivePushPublishType()
public void setAlivcLivePushPublishType(int alivcLivePushPublishType)
public int getAudioEncodeBitrate()
protected void setAudioEncodeBitrate(int audioEncodeBitrate)
audioEncodeBitrate
- The bitrate for audio encoding.public int getAudioUploadBitrate()
protected void setAudioUploadBitrate(int audioUploadBitrate)
audioUploadBitrate
- The bitrate for audio upload.public int getVideoUploadBitrate()
protected void setVideoUploadBitrate(int videoUploadBitrate)
videoUploadBitrate
- The bitrate for video upload.public int getAudioPacketsInUploadBuffer()
protected void setAudioPacketsInUploadBuffer(int audioPacketsInUploadBuffer)
audioPacketsInUploadBuffer
- The number of audio packages in the buffer.public int getVideoPacketsInUploadBuffer()
protected void setVideoPacketsInUploadBuffer(int videoPacketsInUploadBuffer)
videoPacketsInUploadBuffer
- public int getVideoUploadeFps()
protected void setVideoUploadeFps(int videoUploadeFps)
videoUploadeFps
- The frame rate for video upload.public int getVideoCaptureFps()
protected void setVideoCaptureFps(int videoCaptureFps)
videoCaptureFps
- The frame rate for video collection.public long getCurrentlyUploadedVideoFramePts()
protected void setCurrentlyUploadedVideoFramePts(long currentlyUploadedVideoFramePts)
currentlyUploadedVideoFramePts
- The PTS of the video frame that is being uploaded.public long getCurrentlyUploadedAudioFramePts()
protected void setCurrentlyUploadedAudioFramePts(long currentlyUploadedAudioFramePts)
currentlyUploadedAudioFramePts
- The PTS of the audio frame that is being uploaded.public long getPreviousVideoKeyFramePts()
protected void setPreviousVideoKeyFramePts(long previousKeyFramePts)
previousKeyFramePts
- The PTS of the last video keyframe.public long getTotalFramesOfEncodedVideo()
protected void setTotalFramesOfEncodedVideo(long totalFramesOfEncodedVideo)
totalFramesOfEncodedVideo
- The total number of encoded video frames.public long getTotalTimeOfEncodedVideo()
protected void setTotalTimeOfEncodedVideo(long totalTimeOfEncodedVideo)
totalTimeOfEncodedVideo
- The total duration of video encoding.public long getTotalSizeOfUploadedPackets()
protected void setTotalSizeOfUploadedPackets(long totalSizeOfUploadedPackets)
totalSizeOfUploadedPackets
- The total size of uploaded frames.public long getTotalTimeOfUploading()
protected void setTotalTimeOfUploading(long totalTimeOfUploading)
totalTimeOfUploading
- The total duration of stream ingest.public long getTotalDurationOfDropingVideoFrames()
protected void setTotalDurationOfDropingVideoFrames(long totalDurationOfDropingVideoFrames)
totalDurationOfDropingVideoFrames
- The total duration of dropped frames.public int getVideoEncodeFps()
protected void setVideoEncodeFps(int videoEncodeFps)
videoEncodeFps
- The frame rate for video encoding.public long getTotalFramesOfUploadedVideo()
protected void setTotalFramesOfUploadedVideo(long totalFramesOfUploadedVideo)
totalFramesOfUploadedVideo
- The total number of uploaded video frames.public int getVideoDurationFromeCaptureToUpload()
protected void setVideoDurationFromeCaptureToUpload(int videoDurationFromeCaptureToUpload)
videoDurationFromeCaptureToUpload
- The period between the collection and upload of video frames.public int getAudioDurationFromeCaptureToUpload()
protected void setAudioDurationFromeCaptureToUpload(int audioDurationFromeCaptureToUpload)
audioDurationFromeCaptureToUpload
- The period between the collection and upload of audio frames.public int getVideoEncodeBitrate()
protected void setVideoEncodeBitrate(int videoEncodeBitrate)
videoEncodeBitrate
- The bitrate for video encoding.public float getMemory()
protected void setMemory(float mMemory)
mMemory
- public float getCpu()
protected void setCpu(float cpu)
cpu
- public int getVideoEncodeParam()
protected void setVideoEncodeParam(int videoEncodeParam)
public long getLastVideoPtsInBuffer()
protected void setLastVideoPtsInBuffer(long lastVideoPtsInBuffer)
public long getLastAudioPtsInBuffer()
protected void setLastAudioPtsInBuffer(long lastAudioPtsInBuffer)
public int getAudioCaptureFps()
protected void setAudioCaptureFps(int audioCaptureFps)
public int getVideoRenderFps()
protected void setVideoRenderFps(int videoRenderFps)
public int getAudioUploadFps()
protected void setAudioUploadFps(int audioUploadFps)
public AlivcEncodeModeEnum getVideoEncodeMode()
public void setVideoEncodeMode(AlivcEncodeModeEnum videoEncodeMode)
public long getTotalTimesOfDropingVideoFrames()
protected void setTotalTimesOfDropingVideoFrames(long totalTimesOfDropingVideoFrames)
public int getTotalTimesOfDisconnect()
protected void setTotalTimesOfDisconnect(int totalTimesOfDisconnect)
public int getTotalTimesOfReconnect()
protected void setTotalTimesOfReconnect(int totalTimesOfReconnect)
public int getCurrentUploadPacketSize()
protected void setCurrentUploadPacketSize(int currentUploadPacketSize)
public int getAudioVideoPtsDiff()
protected void setAudioVideoPtsDiff(int audioVideoPtsDiff)
public long getTotalSendedPacketSizeInTwoSecond()
protected void setTotalSendedPacketSizeInTwoSecond(long totalSendedPacketSizeInTwoSecond)
public int getMaxSizeOfVideoPacketsInBuffer()
protected void setMaxSizeOfVideoPacketsInBuffer(int maxSizeOfVideoPacketsInBuffer)
public int getMaxSizeOfAudioPacketsInBuffer()
protected void setMaxSizeOfAudioPacketsInBuffer(int maxSizeOfAudioPacketsInBuffer)
public long getLastVideoFramePTSInQueue()
public void setLastVideoFramePTSInQueue(long mLastVideoFramePTSInQueue)
public long getLastAudioFramePTSInQueue()
protected void setLastAudioFramePTSInQueue(long mLastAudioFramePTSInQueue)
public long getAvPTSInterval()
protected void setAvPTSInterval(long mAvPTSInterval)
public int getAudioFrameInEncodeBuffer()
protected void setAudioFrameInEncodeBuffer(int audioFrameInEncodeBuffer)
public int getVideoFramesInRenderBuffer()
protected void setVideoFramesInRenderBuffer(int videoFramesInRenderBuffer)
public int getVideoFramesInEncodeBuffer()
protected void setVideoFramesInEncodeBuffer(int videoFramesInEncodeBuffer)
public int getAudioEncodeFps()
public void setAudioEncodeFps(int audioEncodeFps)
public int getVideoRenderConsumingTimePerFrame()
public void setVideoRenderConsumingTimePerFrame(int videoRenderConsumingTimePerFrame)
public int getTotalDroppedAudioFrames()
protected void setTotalDroppedAudioFrames(int mTotalDroppedAudioFrames)
public int getRtt()
protected void setRtt(int rtt)
public int getVideoLostRate()
protected void setVideoLostRate(int bitrate)
public int getAudioLostRate()
protected void setAudioLostRate(int bitrate)
public int getVideoReSendBitRate()
protected void setVideoReSendBitRate(int bitrate)
public int getAudioReSendBitRate()
protected void setAudioReSendBitRate(int bitrate)
public void setAudioCapturingSampleRate(int audioCapturingSampleRate)
public int getAudioCapturingSampleRate()
public int getVideoEncodingGopSize()
public void setVideoEncodingGopSize(int videoEncodingGopSize)
public int getVideoEncodingWidth()
public void setVideoEncodingWidth(int videoEncodingWidth)
public int getVideoEncodingHeight()
public void setVideoEncodingHeight(int videoEncodingHeight)