Interface LiveStreamingTranscodingUser

Manages the user layout configuration in [LiveStreamingTranscodingConfig]LiveStreamingTranscodingConfig.

Hierarchy

  • LiveStreamingTranscodingUser

Properties

alpha?: number

The transparency level of the user's video.

The value ranges between 0.0 and 1.0:

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

The audio channel ranging between 0 and 5. The default value is 0.

  • 0: (default) Supports dual channels. Depends on the upstream of the broadcaster.
  • 1: The audio stream of the broadcaster uses the FL audio channel. If the broadcaster’s upstream uses multiple audio channels, these channels are mixed into mono first.
  • 2: The audio stream of the broadcaster uses the FC audio channel. If the broadcaster’s upstream uses multiple audio channels, these channels are mixed into mono first.
  • 3: The audio stream of the broadcaster uses the FR audio channel. If the broadcaster’s upstream uses multiple audio channels, these channels are mixed into mono first.
  • 4: The audio stream of the broadcaster uses the BL audio channel. If the broadcaster’s upstream uses multiple audio channels, these channels are mixed into mono first.
  • 5: The audio stream of the broadcaster uses the BR audio channel. If the broadcaster’s upstream uses multiple audio channels, these channels are mixed into mono first.
height?: number

The height of the video.

The default value is 640.

uid: UID

The user ID of the CDN live host.

width?: number

The width of the video.

The default value is 360.

x?: number

The position of the top-left corner of the video on the horizontal axis.

The default value is 0.

y?: number

The position of the top-left corner of the video on the vertical axis.

The default value is 0.

zOrder?: number

The layer index of the video frame.

An integer. The value range is [0,100].

  • 0: (Default) Bottom layer.
  • 100: Top layer.

Generated using TypeDoc