Interface LiveStreamingTranscodingImage

Configurations for the watermark and background images to put on top of the video in [LiveStreamingTranscodingConfig]LiveStreamingTranscodingConfig.

Hierarchy

  • LiveStreamingTranscodingImage

Properties

Properties

alpha?: number

The transparency level of the image.

The value range is [0.0,1.0]:

  • 0.0: Completely transparent.
  • 1.0: (Default) Opaque.
height?: number

The height (pixel) of the image.

The default value is 160.

url: string

The HTTP/HTTPS URL address of the image on the video.

Supports online PNG only.

width?: number

The width (pixel) of the image.

The default value is 160.

x?: number

The horizontal distance (pixel) between the image's top-left corner and the video's top-left corner.

The default value is 0.

y?: number

The vertical distance (pixel) between the image's top-left corner and the video's top-left corner.

The default value is 0.

Generated using TypeDoc