Agora C++ API Reference for All Platforms
Public Attributes | List of all members
agora::rtc::LocalVideoStats Struct Reference

Public Attributes

uid_t uid
 
int sentBitrate
 
int sentFrameRate
 
int encoderOutputFrameRate
 
int rendererOutputFrameRate
 
int targetBitrate
 
int targetFrameRate
 
int encodedBitrate
 
int encodedFrameWidth
 
int encodedFrameHeight
 
int encodedFrameCount
 
VIDEO_CODEC_TYPE codecType
 

Detailed Description

Statistics of the local video stream.

Member Data Documentation

◆ uid

uid_t agora::rtc::LocalVideoStats::uid

ID of the local user.

◆ sentBitrate

int agora::rtc::LocalVideoStats::sentBitrate

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

◆ sentFrameRate

int agora::rtc::LocalVideoStats::sentFrameRate

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

◆ encoderOutputFrameRate

int agora::rtc::LocalVideoStats::encoderOutputFrameRate

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

◆ rendererOutputFrameRate

int agora::rtc::LocalVideoStats::rendererOutputFrameRate

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

◆ targetBitrate

int agora::rtc::LocalVideoStats::targetBitrate

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

◆ targetFrameRate

int agora::rtc::LocalVideoStats::targetFrameRate

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

◆ encodedBitrate

int agora::rtc::LocalVideoStats::encodedBitrate

The encoding bitrate (Kbps), which does not include the bitrate of the re-transmission video after packet loss.

◆ encodedFrameWidth

int agora::rtc::LocalVideoStats::encodedFrameWidth

The width of the encoding frame (px).

◆ encodedFrameHeight

int agora::rtc::LocalVideoStats::encodedFrameHeight

The height of the encoding frame (px).

◆ encodedFrameCount

int agora::rtc::LocalVideoStats::encodedFrameCount

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

◆ codecType

VIDEO_CODEC_TYPE agora::rtc::LocalVideoStats::codecType

The codec type of the local video:

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