Agora C++ API Reference for All Platforms

Public Member Functions | Public Attributes | List of all members
agora::rtc::VideoTrackInfo Struct Reference

## Public Member Functions
| VideoTrackInfo ()

## Public Attributes
bool | isLocal
uid_t | ownerUid
track_id_t | trackId
const char * | channelId
VIDEO_CODEC_TYPE | codecType
bool | encodedFrameOnly
VIDEO_SOURCE_TYPE | sourceType
uint32_t | observationPosition

## 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

## ◆ 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.

## ◆ trackId

track_id_t agora::rtc::VideoTrackInfo::trackId

ID of the video track.

## ◆ 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 does not contain encoded video frame only.

## ◆ sourceType

VIDEO_SOURCE_TYPE agora::rtc::VideoTrackInfo::sourceType

The video source type: VIDEO_SOURCE_TYPE

## ◆ observationPosition

uint32_t agora::rtc::VideoTrackInfo::observationPosition

the frame position for the video observer: #VIDEO_MODULE_POSITION