ImageTrackOptions

Settings options for placeholder images.

export class ImageTrackOptions {

  imageUrl?: string;

  fps?: number;
}

Properties

imageUrl
URL of the placeholder image. Currently supports JPEG, JPG, PNG, and GIF formats. You can add a placeholder image from a local absolute or relative path.
Note: On Android, adding placeholder images from /assets/ is not supported.
fps
Video frame rate, ranging from [1,30]. Default is 1.