Agora Server Gateway SDK C++ API Reference
Public Member Functions | Public Attributes | List of all members
agora::rtc::EncodedVideoFrameInfo Struct Reference

#include <AgoraBase.h>

Public Member Functions

 EncodedVideoFrameInfo ()
 
 EncodedVideoFrameInfo (const EncodedVideoFrameInfo &rhs)
 
EncodedVideoFrameInfooperator= (const EncodedVideoFrameInfo &rhs)
 

Public Attributes

VIDEO_CODEC_TYPE codecType
 
int width
 
int height
 
int framesPerSecond
 
VIDEO_FRAME_TYPE frameType
 
VIDEO_ORIENTATION rotation
 
int trackId
 
int64_t captureTimeMs
 
int64_t decodeTimeMs
 
uid_t uid
 
VIDEO_STREAM_TYPE streamType
 

Detailed Description

The definition of the EncodedVideoFrameInfo struct.

Constructor & Destructor Documentation

◆ EncodedVideoFrameInfo() [1/2]

agora::rtc::EncodedVideoFrameInfo::EncodedVideoFrameInfo ( )
inline

◆ EncodedVideoFrameInfo() [2/2]

agora::rtc::EncodedVideoFrameInfo::EncodedVideoFrameInfo ( const EncodedVideoFrameInfo rhs)
inline

Member Function Documentation

◆ operator=()

EncodedVideoFrameInfo & agora::rtc::EncodedVideoFrameInfo::operator= ( const EncodedVideoFrameInfo rhs)
inline

Member Data Documentation

◆ captureTimeMs

int64_t agora::rtc::EncodedVideoFrameInfo::captureTimeMs

The Unix timestamp (ms) for capturing the external encoded video frames.

◆ codecType

VIDEO_CODEC_TYPE agora::rtc::EncodedVideoFrameInfo::codecType

The video codec: VIDEO_CODEC_TYPE.

◆ decodeTimeMs

int64_t agora::rtc::EncodedVideoFrameInfo::decodeTimeMs

The Unix timestamp (ms) for decoding the external encoded video frames.

◆ framesPerSecond

int agora::rtc::EncodedVideoFrameInfo::framesPerSecond

The number of video frames per second. This value will be used for calculating timestamps of the encoded image. If framesPerSecond equals zero, then real timestamp will be used. Otherwise, timestamp will be adjusted to the value of framesPerSecond set.

◆ frameType

VIDEO_FRAME_TYPE agora::rtc::EncodedVideoFrameInfo::frameType

The frame type of the encoded video frame: VIDEO_FRAME_TYPE.

◆ height

int agora::rtc::EncodedVideoFrameInfo::height

The height (px) of the video.

◆ rotation

VIDEO_ORIENTATION agora::rtc::EncodedVideoFrameInfo::rotation

The rotation information of the encoded video frame: VIDEO_ORIENTATION.

◆ streamType

VIDEO_STREAM_TYPE agora::rtc::EncodedVideoFrameInfo::streamType

The stream type of video frame.

◆ trackId

int agora::rtc::EncodedVideoFrameInfo::trackId

The track ID of the video frame.

◆ uid

uid_t agora::rtc::EncodedVideoFrameInfo::uid

ID of the user.

◆ width

int agora::rtc::EncodedVideoFrameInfo::width

The width (px) of the video.


The documentation for this struct was generated from the following file: