Package io.agora.rtc2
Class IRtcEngineEventHandler.LocalVideoStats
java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.LocalVideoStats
- Enclosing class:
- IRtcEngineEventHandler
Statistics of the local video.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe brightness level of the video image captured by the local camera.intThe height of the capture frame (px).intThe capture frame rate (fps) of the local video.intThe width of the capture frame (px).intThe codec type of the local video: - VIDEO_CODEC_VP8 = 1: VP8.booleanWhether we send dual stream now.intThe encoding bitrate (Kbps), which does not include the bitrate of the re-transmission video after packet loss.intThe value of the sent frames, represented by an aggregate value.intintThe height of the encoding frame (px).intThe width of the encoding frame (px).intThe encoder output frame rate (fps) of the local video.intThe encoder is hardware or software: - hwEncoderAccelerating = 0: the encoder is software.intQuality change of the local video in terms of target frame rate and target bit rate since last count.intThe regulated frame height (px) of capture frame height according to video encoder configuration.intThe regulated frame rate of capture frame rate according to video encoder configuration.intThe regulated frame width (px) of capture frame width according to video encoder configuration.intThe render output frame rate (fps) of the local video.intintFrame rate (fps) sent in the reported interval, which does not include the frame rate of the retransmission video after packet loss.intThe target bitrate (Kbps) of the current encoder.intThe target frame rate (fps) of the current encoder.intThe video packet loss rate (%) from the local client to the Agora edge server before applying the anti-packet loss strategies.intID of the local user whose video is sent. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uid
public int uidID of the local user whose video is sent. -
sentBitrate
public int sentBitrate -
sentFrameRate
public int sentFrameRateFrame rate (fps) sent in the reported interval, which does not include the frame rate of the retransmission video after packet loss. -
captureFrameRate
public int captureFrameRateThe capture frame rate (fps) of the local video. -
captureFrameWidth
public int captureFrameWidthThe width of the capture frame (px). -
captureFrameHeight
public int captureFrameHeightThe height of the capture frame (px). -
regulatedCaptureFrameRate
public int regulatedCaptureFrameRateThe regulated frame rate of capture frame rate according to video encoder configuration. -
regulatedCaptureFrameWidth
public int regulatedCaptureFrameWidthThe regulated frame width (px) of capture frame width according to video encoder configuration. -
regulatedCaptureFrameHeight
public int regulatedCaptureFrameHeightThe regulated frame height (px) of capture frame height according to video encoder configuration. -
encoderOutputFrameRate
public int encoderOutputFrameRateThe encoder output frame rate (fps) of the local video. -
rendererOutputFrameRate
public int rendererOutputFrameRateThe render output frame rate (fps) of the local video. -
targetBitrate
public int targetBitrateThe target bitrate (Kbps) of the current encoder. This value is estimated by the SDK based on the current network conditions. -
targetFrameRate
public int targetFrameRateThe target frame rate (fps) of the current encoder. -
qualityAdaptIndication
public int qualityAdaptIndicationQuality change of the local video in terms of target frame rate and target bit rate since last count.- Since:
- v2.4.0.
-
ADAPT_NONE(0): The quality of the local video stays the same. -ADAPT_UP_BANDWIDTH(1): The quality improves because the network bandwidth increases. -ADAPT_DOWN_BANDWIDTH(2): The quality worsens because the network bandwidth decreases.
-
encodedBitrate
public int encodedBitrateThe encoding bitrate (Kbps), which does not include the bitrate of the re-transmission video after packet loss. -
encodedFrameWidth
public int encodedFrameWidthThe width of the encoding frame (px). -
encodedFrameHeight
public int encodedFrameHeightThe height of the encoding frame (px). -
encodedFrameCount
public int encodedFrameCountThe value of the sent frames, represented by an aggregate value. -
codecType
public int codecTypeThe codec type of the local video: - VIDEO_CODEC_VP8 = 1: VP8. - VIDEO_CODEC_H264 = 2: (Default) H.264. -
txPacketLossRate
public int txPacketLossRateThe video packet loss rate (%) from the local client to the Agora edge server before applying the anti-packet loss strategies. -
captureBrightnessLevel
public int captureBrightnessLevelThe brightness level of the video image captured by the local camera. - {@link io::agora::rtc::Constants#CAPTURE_BRIGHTNESS_LEVEL_INVALID CAPTURE_BRIGHTNESS_LEVEL_INVALID(-1)} - {@link io::agora::rtc::Constants#CAPTURE_BRIGHTNESS_LEVEL_NORMAL CAPTURE_BRIGHTNESS_LEVEL_NORMAL(0)} - {@link io::agora::rtc::Constants#CAPTURE_BRIGHTNESS_LEVEL_BRIGHT CAPTURE_BRIGHTNESS_LEVEL_BRIGHT(1)} - {@link io::agora::rtc::Constants#CAPTURE_BRIGHTNESS_LEVEL_DARK CAPTURE_BRIGHTNESS_LEVEL_DARK(2)} -
dualStreamEnabled
public boolean dualStreamEnabledWhether we send dual stream now. -
hwEncoderAccelerating
public int hwEncoderAcceleratingThe encoder is hardware or software: - hwEncoderAccelerating = 0: the encoder is software. - hwEncoderAccelerating = 1: the encoder is hardware. -
encodedFrameDepth
public int encodedFrameDepth
-
-
Constructor Details
-
LocalVideoStats
public LocalVideoStats()
-