Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TranscodingUser

The TranscodingUser class.

Hierarchy

  • TranscodingUser

Index

Properties

alpha

alpha: number

Transparency of the video frame in CDN live. The value ranges between 0.0 and 1.0:

  • 0.0: Completely transparent
  • 1.0: (Default) Opaque

audioChannel

audioChannel: number

The audio channel of the sound. The default value is 0:

  • 0: (Default) Supports dual channels at most, depending on the upstream of the broadcaster.
  • 1: The audio stream of the broadcaster uses the FL audio channel. If the upstream of the broadcaster uses multiple audio channels, these channels will be mixed into mono first.
  • 2: The audio stream of the broadcaster uses the FC audio channel. If the upstream of the broadcaster uses multiple audio channels, these channels will be mixed into mono first.
  • 3: The audio stream of the broadcaster uses the FR audio channel. If the upstream of the broadcaster uses multiple audio channels, these channels will be mixed into mono first.
  • 4: The audio stream of the broadcaster uses the BL audio channel. If the upstream of the broadcaster uses multiple audio channels, these channels will be mixed into mono first.
  • 5: The audio stream of the broadcaster uses the BR audio channel. If the upstream of the broadcaster uses multiple audio channels, these channels will be mixed into mono first.

height

height: number

Height of the video frame. The default value is 640.

uid

uid: number

User ID of the user displaying the video in the CDN live.

width

width: number

Width of the video frame. The default value is 360.

x

x: number

Horizontal position from the top left corner of the video frame.

y

y: number

Vertical position from the top left corner of the video frame.

zOrder

zOrder: number

Layer position of the video frame. The value ranges between 0 and 100.

  • 0: (Default) Lowest
  • 100: Highest