LocalVideoStats

Statistics of the local video stream.

public class LocalVideoStats
    {
        public LocalVideoStats()
        {
        }

        public uint uid { set; get; }
        public int sentBitrate { set; get; }
        public int sentFrameRate { set; get; }
        public int captureFrameRate { set; get; }
        public int captureFrameWidth { set; get; }
        public int captureFrameHeight { set; get; }
        public int regulatedCaptureFrameRate { set; get; }
        public int regulatedCaptureFrameWidth { set; get; 
        public int regulatedCaptureFrameHeight { set; get; }
        public int encoderOutputFrameRate { set; get; }
        public int encodedFrameWidth { set; get; }
        public int encodedFrameHeight { set; get; }
        public int rendererOutputFrameRate { set; get; }
        public int targetBitrate { set; get; }
        public int targetFrameRate { set; get; }
        public QUALITY_ADAPT_INDICATION qualityAdaptIndication { set; get; }
        public int encodedBitrate { set; get; }
        public int encodedFrameCount { set; get; }
        public VIDEO_CODEC_TYPE codecType { set; get; }
        public ushort txPacketLossRate { set; get; }
        public CAPTURE_BRIGHTNESS_LEVEL_TYPE captureBrightnessLevel { set; get; }
        public int hwEncoderAccelerating { set; get; }
    };

Properties

uid
The ID of the local user.
sentBitrate
Actual sending bitrate (Kbps)
Note: Excludes bitrate of retransmitted video due to packet loss.
sentFrameRate
Actual sending frame rate (fps).
Note: Excludes frame rate of retransmitted video due to packet loss.
captureFrameRate
Local video capture frame rate (fps).
captureFrameWidth
Local video capture width (px).
captureFrameHeight
Local video capture height (px).
regulatedCaptureFrameRate
Camera capture frame rate (fps) adjusted by the SDK's built-in video capture adapter (regulator). The regulator adjusts the camera capture frame rate based on the video encoding configuration.
regulatedCaptureFrameWidth
Camera capture width (px) adjusted by the SDK's built-in video capture adapter (regulator). The regulator adjusts the camera capture resolution based on the video encoding configuration.
regulatedCaptureFrameHeight
Camera capture height (px) adjusted by the SDK's built-in video capture adapter (regulator). The regulator adjusts the camera capture resolution based on the video encoding configuration.
encoderOutputFrameRate
Output frame rate of the local video encoder, in fps.
rendererOutputFrameRate
Output frame rate of the local video renderer, in fps.
targetBitrate
Target encoding bitrate (Kbps) of the current encoder. This value is estimated by the SDK based on the current network conditions.
targetFrameRate
Target encoding frame rate (fps) of the current encoder.
qualityAdaptIndication
Adaptation status of local video quality (based on target frame rate and target bitrate) during the statistical period. See QUALITY_ADAPT_INDICATION.
encodedBitrate
Video encoding bitrate (Kbps).
Note: Excludes bitrate of retransmitted video due to packet loss.
encodedFrameHeight
Video encoding height (px).
encodedFrameWidth
Video encoding width (px).
encodedFrameCount
Number of video frames sent, cumulative value.
codecType
Video codec type. See VIDEO_CODEC_TYPE.
txPacketLossRate
Video packet loss rate (%) from the local end to the Agora edge server before network resilience.
captureFrameRate
Local video capture frame rate (fps).
captureBrightnessLevel
Brightness level of the locally captured video. See CAPTURE_BRIGHTNESS_LEVEL_TYPE.
hwEncoderAccelerating
Local video encoder acceleration type.
  • 0: Uses software encoding, no acceleration.
  • 1: Uses hardware encoding for acceleration.