Agora C++ API Reference for All Platforms
Loading...
Searching...
No Matches
agora::rtc::ImageTrackOptions Struct Reference

#include <IAgoraRtcEngine.h>

Public Member Functions

 ImageTrackOptions ()
 

Public Attributes

const char * imageUrl
 
int fps
 
VIDEO_MIRROR_MODE_TYPE mirrorMode
 

Constructor & Destructor Documentation

◆ ImageTrackOptions()

agora::rtc::ImageTrackOptions::ImageTrackOptions ( )
inline

Member Data Documentation

◆ imageUrl

const char* agora::rtc::ImageTrackOptions::imageUrl

The image URL. Supported formats of images include JPEG, JPG, PNG and GIF. This method supports adding an image from the local absolute or relative file path.

Note
On the Android platform, adding images from /assets/ is not supported.

◆ fps

int agora::rtc::ImageTrackOptions::fps

The frame rate of the video streams being published. The value range is [1,30]. The default value is 1.

◆ mirrorMode

VIDEO_MIRROR_MODE_TYPE agora::rtc::ImageTrackOptions::mirrorMode