Server Gateway SDK v3.8.202.20 for Linux C++
Public Member Functions | Public Attributes | List of all members
agora::rtc::VideoTrackInfo Struct Reference

#include <AgoraBase.h>

Public Member Functions

 VideoTrackInfo ()
 

Public Attributes

bool isLocal
 
uid_t ownerUid
 
track_id_t trackId
 
const char * channelId
 
VIDEO_STREAM_TYPE streamType
 
VIDEO_CODEC_TYPE codecType
 
bool encodedFrameOnly
 
VIDEO_SOURCE_TYPE sourceType
 

Detailed Description

The definition of the VideoTrackInfo struct, which contains information of the video track.

Constructor & Destructor Documentation

◆ VideoTrackInfo()

agora::rtc::VideoTrackInfo::VideoTrackInfo ( )
inline

Member Data Documentation

◆ channelId

const char* agora::rtc::VideoTrackInfo::channelId

The channel ID of the video track.

◆ codecType

VIDEO_CODEC_TYPE agora::rtc::VideoTrackInfo::codecType

The video codec type: VIDEO_CODEC_TYPE.

◆ encodedFrameOnly

bool agora::rtc::VideoTrackInfo::encodedFrameOnly

Whether the video track contains encoded video frame only.

  • true: The video track contains encoded video frame only.
  • false: The video track contains decoded video frames only.

◆ isLocal

bool agora::rtc::VideoTrackInfo::isLocal

Whether the video track is local or remote.

  • true: The video track is local.
  • false: The video track is remote.

◆ ownerUid

uid_t agora::rtc::VideoTrackInfo::ownerUid

ID of the user who publishes the video track.

◆ sourceType

VIDEO_SOURCE_TYPE agora::rtc::VideoTrackInfo::sourceType

The video source type: VIDEO_SOURCE_TYPE

◆ streamType

VIDEO_STREAM_TYPE agora::rtc::VideoTrackInfo::streamType

The video stream type: VIDEO_STREAM_TYPE.

◆ trackId

track_id_t agora::rtc::VideoTrackInfo::trackId

ID of the video track.


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