Agora RTC Objective-C API Reference  Refactor
Data Fields
LocalVideoStats Struct Reference

Data Fields

uid_t uid
 
int sentBitrate
 
int sentFrameRate
 
int captureFrameRate
 
int captureFrameWidth
 
int captureFrameHeight
 
int regulatedCaptureFrameRate
 
int regulatedCaptureFrameWidth
 
int regulatedCaptureFrameHeight
 
int encoderOutputFrameRate
 
int encodedFrameWidth
 
int encodedFrameHeight
 
int rendererOutputFrameRate
 
int targetBitrate
 
int targetFrameRate
 
QUALITY_ADAPT_INDICATION qualityAdaptIndication
 
int encodedFrameCount
 
VIDEO_CODEC_TYPE codecType
 
unsigned short txPacketLossRate
 

Detailed Description

Statistics of the local video stream.

Field Documentation

◆ uid

uid_t uid

ID of the local user.

◆ sentBitrate

int sentBitrate

Bitrate (Kbps) sent in the reported interval, which does not include the bitrate of the retransmission video after packet loss.

◆ sentFrameRate

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

int captureFrameRate

The capture frame rate (fps) of the local video.

◆ captureFrameWidth

int captureFrameWidth

The width of the capture frame (px).

◆ captureFrameHeight

int captureFrameHeight

The height of the capture frame (px).

◆ regulatedCaptureFrameRate

int regulatedCaptureFrameRate

The regulated frame rate of capture frame rate according to video encoder configuration.

◆ regulatedCaptureFrameWidth

int regulatedCaptureFrameWidth

The regulated frame width (pixel) of capture frame width according to video encoder configuration.

◆ regulatedCaptureFrameHeight

int regulatedCaptureFrameHeight

The regulated frame height (pixel) of capture frame height according to video encoder configuration.

◆ encoderOutputFrameRate

int encoderOutputFrameRate

The encoder output frame rate (fps) of the local video.

◆ encodedFrameWidth

int encodedFrameWidth

The width of the encoding frame (px).

◆ encodedFrameHeight

int encodedFrameHeight

The height of the encoding frame (px).

◆ rendererOutputFrameRate

int rendererOutputFrameRate

The render output frame rate (fps) of the local video.

◆ targetBitrate

int targetBitrate

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

◆ targetFrameRate

int targetFrameRate

The target frame rate (fps) of the current encoder.

◆ qualityAdaptIndication

QUALITY_ADAPT_INDICATION qualityAdaptIndication

The encoding bitrate (Kbps), which does not include the bitrate of the re-transmission video after packet loss. Quality change of the local video in terms of target frame rate and target bit rate in this reported interval. See QUALITY_ADAPT_INDICATION.

◆ encodedBitrate

int encodedBitrate

◆ encodedFrameCount

int encodedFrameCount

The value of the sent frames, represented by an aggregate value.

◆ codecType

VIDEO_CODEC_TYPE codecType

The codec type of the local video:

  • VIDEO_CODEC_VP8 = 1: VP8.
  • VIDEO_CODEC_H264 = 2: (Default) H.264.

◆ txPacketLossRate

unsigned short txPacketLossRate

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