ImageTrackOptions
Image configuration parameters.
public class ImageTrackOptions {
private String imageUrl;
private int fps;
private VideoEncoderConfiguration.MIRROR_MODE_TYPE mirrorMode;
}
Properties
- imageUrl
- URL of the image. Supported image formats include JPEG, JPG, PNG, and GIF. You can add images using either an absolute or relative local path.
Note: On Android, adding images from
/assets/is not supported. - fps
- Frame rate of the currently published video stream. Value range is [1, 30], default is 1.
- mirrorMode
- Mirror mode:
VIDEO_MIRROR_MODE_AUTO (0): The SDK determines whether to enable mirror mode. Disabled by default.VIDEO_MIRROR_MODE_ENABLED (1): Enable remote mirror.VIDEO_MIRROR_MODE_DISABLED (2): Disable remote mirror.