Agora RTC Objective-C API Reference Refactor

Data Fields
VideoTrackInfo Struct Reference

## Data Fields
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
uint32_t | observationPosition

## Detailed Description

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

## Constructor & Destructor Documentation

## ◆ VideoTrackInfo()

VideoTrackInfo | ( |  | ) |
| inline

## Field Documentation

## ◆ isLocal

bool isLocal

Whether the video track is local or remote.

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

## ◆ ownerUid

uid_t ownerUid

ID of the user who publishes the video track.

## ◆ trackId

track_id_t trackId

ID of the video track.

## ◆ channelId

const char* channelId

The channel ID of the video track.

## ◆ streamType

VIDEO_STREAM_TYPE streamType

The video stream type: VIDEO_STREAM_TYPE.

## ◆ codecType

VIDEO_CODEC_TYPE codecType

The video codec type: VIDEO_CODEC_TYPE.

## ◆ encodedFrameOnly

bool 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 sourceType

The video source type: VIDEO_SOURCE_TYPE

## ◆ observationPosition

uint32_t observationPosition

the frame position for the video observer: #VIDEO_MODULE_POSITION