Package io.agora.rtc2

Class IRtcEngineEventHandler.LocalVideoStats

java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.LocalVideoStats
Enclosing class:
IRtcEngineEventHandler

public static class IRtcEngineEventHandler.LocalVideoStats extends Object
Statistics of the local video.
  • Field Details

    • uid

      public int uid
      ID of the local user whose video is sent.
    • sentBitrate

      public int sentBitrate
    • sentFrameRate

      public int sentFrameRate
      Frame rate (fps) sent in the reported interval, which does not include the frame rate of the retransmission video after packet loss.
    • captureFrameRate

      public int captureFrameRate
      The capture frame rate (fps) of the local video.
    • captureFrameWidth

      public int captureFrameWidth
      The width of the capture frame (px).
    • captureFrameHeight

      public int captureFrameHeight
      The height of the capture frame (px).
    • regulatedCaptureFrameRate

      public int regulatedCaptureFrameRate
      The regulated frame rate of capture frame rate according to video encoder configuration.
    • regulatedCaptureFrameWidth

      public int regulatedCaptureFrameWidth
      The regulated frame width (px) of capture frame width according to video encoder configuration.
    • regulatedCaptureFrameHeight

      public int regulatedCaptureFrameHeight
      The regulated frame height (px) of capture frame height according to video encoder configuration.
    • encoderOutputFrameRate

      public int encoderOutputFrameRate
      The encoder output frame rate (fps) of the local video.
    • rendererOutputFrameRate

      public int rendererOutputFrameRate
      The render output frame rate (fps) of the local video.
    • targetBitrate

      public int targetBitrate
      The target bitrate (Kbps) of the current encoder. This value is estimated by the SDK based on the current network conditions.
    • targetFrameRate

      public int targetFrameRate
      The target frame rate (fps) of the current encoder.
    • qualityAdaptIndication

      public int qualityAdaptIndication
      Quality 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 encodedBitrate
      The encoding bitrate (Kbps), which does not include the bitrate of the re-transmission video after packet loss.
    • encodedFrameWidth

      public int encodedFrameWidth
      The width of the encoding frame (px).
    • encodedFrameHeight

      public int encodedFrameHeight
      The height of the encoding frame (px).
    • encodedFrameCount

      public int encodedFrameCount
      The value of the sent frames, represented by an aggregate value.
    • codecType

      public int codecType
      The codec type of the local video: - VIDEO_CODEC_VP8 = 1: VP8. - VIDEO_CODEC_H264 = 2: (Default) H.264.
    • txPacketLossRate

      public int txPacketLossRate
      The video packet loss rate (%) from the local client to the Agora edge server before applying the anti-packet loss strategies.
    • captureBrightnessLevel

      public int captureBrightnessLevel
      The 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 dualStreamEnabled
      Whether we send dual stream now.
    • hwEncoderAccelerating

      public int hwEncoderAccelerating
      The 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()