public class AlivcLivePushStatsInfo
extends java.lang.Object
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()
获取音频编码码率
|
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.
|
java.lang.String |
toString() |
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)
public java.lang.String toString()
toString
in class java.lang.Object