ImageTrackOptions
Used for image configuration.
struct ImageTrackOptions {
const char* imageUrl;
int fps;
VIDEO_MIRROR_MODE_TYPE mirrorMode;
};
Properties
- imageUrl
- URL of the image. Supported image formats include JPEG, JPG, PNG, and GIF. Supports adding images from local absolute or relative paths.
Note: On Android, adding images from
/assets/is not supported. - fps
- Frame rate of the published video stream, range is [1, 30], default is 1.
- mirrorMode
- Mirror mode. See VIDEO_MIRROR_MODE_TYPE.