Package io.agora.rtc2
Class IRtcEngineEventHandler.LocalVideoStats
java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.LocalVideoStats
- Enclosing class:
- IRtcEngineEventHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe brightness level of the video image captured by the local camera.intThe height (px) for capturing the local video stream.intThe frame rate (fps) for capturing the local video stream.intThe width (px) for capturing the local video stream.intThe codec type of the local video.booleanWhether we send dual stream now.intThe bitrate (Kbps) while encoding the local video stream.intThe number of the sent video frames, represented by an aggregate value.intintThe height of the encoded video (px).intThe width of the encoded video (px).intThe output frame rate (fps) of the local video encoder.intThe local video encoding acceleration type.intThe quality adaptation of the local video stream in the reported interval (based on the target frame rate and target bitrate).intThe height (px) adjusted by the built-in video capture adapter (regulator) of the SDK for capturing the local video stream.intThe frame rate (fps) adjusted by the built-in video capture adapter (regulator) of the SDK for capturing the local video stream.intThe width (px) adjusted by the built-in video capture adapter (regulator) of the SDK for capturing the local video stream.intThe output frame rate (fps) of the local video renderer.intThe actual bitrate (Kbps) while sending the local video stream.intThe actual frame rate (fps) while sending the local video stream.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 server before applying the anti-packet loss strategies.intThe ID of the local user. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uid
public int uidThe ID of the local user. -
sentBitrate
public int sentBitrateThe actual bitrate (Kbps) while sending the local video stream. -
sentFrameRate
public int sentFrameRateThe actual frame rate (fps) while sending the local video stream. -
captureFrameRate
public int captureFrameRateThe frame rate (fps) for capturing the local video stream. -
captureFrameWidth
public int captureFrameWidthThe width (px) for capturing the local video stream. -
captureFrameHeight
public int captureFrameHeightThe height (px) for capturing the local video stream. -
regulatedCaptureFrameRate
public int regulatedCaptureFrameRateThe frame rate (fps) adjusted by the built-in video capture adapter (regulator) of the SDK for capturing the local video stream. The regulator adjusts the frame rate of the video captured by the camera according to the video encoding configuration. -
regulatedCaptureFrameWidth
public int regulatedCaptureFrameWidthThe width (px) adjusted by the built-in video capture adapter (regulator) of the SDK for capturing the local video stream. The regulator adjusts the height and width of the video captured by the camera according to the video encoding configuration. -
regulatedCaptureFrameHeight
public int regulatedCaptureFrameHeightThe height (px) adjusted by the built-in video capture adapter (regulator) of the SDK for capturing the local video stream. The regulator adjusts the height and width of the video captured by the camera according to the video encoding configuration. -
encoderOutputFrameRate
public int encoderOutputFrameRateThe output frame rate (fps) of the local video encoder. -
rendererOutputFrameRate
public int rendererOutputFrameRateThe output frame rate (fps) of the local video renderer. -
targetBitrate
public int targetBitrateThe target bitrate (Kbps) of the current encoder. This is an estimate made by the SDK based on the current network conditions. -
targetFrameRate
public int targetFrameRateThe target frame rate (fps) of the current encoder. -
qualityAdaptIndication
public int qualityAdaptIndicationThe quality adaptation of the local video stream in the reported interval (based on the target frame rate and target bitrate). - ADAPT_NONE (0): The local video quality stays the same. - ADAPT_UP_BANDWIDTH (1): The local video quality improves because the network bandwidth increases. - ADAPT_DOWN_BANDWIDTH (2): The local video quality deteriorates because the network bandwidth decreases.- Since:
- v2.4.0.
-
encodedBitrate
public int encodedBitrateThe bitrate (Kbps) while encoding the local video stream. -
encodedFrameWidth
public int encodedFrameWidthThe width of the encoded video (px). -
encodedFrameHeight
public int encodedFrameHeightThe height of the encoded video (px). -
encodedFrameCount
public int encodedFrameCountThe number of the sent video frames, represented by an aggregate value. -
codecType
public int codecTypeThe codec type of the local video. See `VIDEO_CODEC_TYPE`. - VIDEO_CODEC_VP8 (1): VP8. - VIDEO_CODEC_H264 (2): H.264. - VIDEO_CODEC_H265 (3): (Default) H.265. -
txPacketLossRate
public int txPacketLossRateThe video packet loss rate (%) from the local client to the Agora server before applying the anti-packet loss strategies. -
captureBrightnessLevel
public int captureBrightnessLevelThe brightness level of the video image captured by the local camera. - CAPTURE_BRIGHTNESS_LEVEL_INVALID (-1): The SDK does not detect the brightness level of the video image. Wait a few seconds to get the brightness level from `captureBrightnessLevel` in the next callback. - CAPTURE_BRIGHTNESS_LEVEL_NORMAL (0): The brightness level of the video image is normal. - CAPTURE_BRIGHTNESS_LEVEL_BRIGHT (1): The brightness level of the video image is too bright. - CAPTURE_BRIGHTNESS_LEVEL_DARK (2): The brightness level of the video image is too dark. -
dualStreamEnabled
public boolean dualStreamEnabledWhether we send dual stream now. -
hwEncoderAccelerating
public int hwEncoderAcceleratingThe local video encoding acceleration type. - 0: Software encoding is applied without acceleration. - 1: Hardware encoding is applied for acceleration. -
encodedFrameDepth
public int encodedFrameDepth
-
-
Constructor Details
-
LocalVideoStats
public LocalVideoStats()
-