ImageTrackOptions
Image configurations
struct ImageTrackOptions {
const char* imageUrl;
int fps;
ImageTrackOptions() : imageUrl(NULL), fps(1) {}
};
Attributes
- imageUrl
- The URL of the image that you want to use to replace the video feeds. The image must be in PNG format. 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
- The frame rate of the video streams being published. The value range is [1,30]. The default value is 1.