Agora Java API Reference for Android
Public Attributes | List of all members
agora::rtc::VideoTrackInfo Struct Reference

#include <AgoraBase.h>

Public Attributes

bool isLocal
 
user_id_t ownerUserId
 
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.

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.

◆ ownerUserId

user_id_t agora::rtc::VideoTrackInfo::ownerUserId

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.

◆ streamType

VIDEO_STREAM_TYPE agora::rtc::VideoTrackInfo::streamType

The video stream type: #VIDEO_STREAM_TYPE.

◆ 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