Class VideoLayout

Layout information of a specific sub-video stream within the mixed stream.

Hierarchy

  • VideoLayout

Constructors

Properties

channelId?: string

The channel name to which the sub-video stream belongs.

height?: number

Heitht (px) of the sub-video stream.

strUid?: string

Reserved for future use.

uid?: number

User ID who published this sub-video stream.

videoState?: number

Status of the sub-video stream on the video mixing canvas. 0: Normal. The sub-video stream has been rendered onto the mixing canvas. 1: Placeholder image. The sub-video stream has no video frames and is displayed as a placeholder on the mixing canvas. 2: Black image. The sub-video stream is replaced by a black image.

width?: number

Width (px) of the sub-video stream.

x?: number

X-coordinate (px) of the sub-video stream on the mixing canvas. The relative lateral displacement of the top left corner of the video for video mixing to the origin (the top left corner of the canvas).

y?: number

Y-coordinate (px) of the sub-video stream on the mixing canvas. The relative longitudinal displacement of the top left corner of the captured video to the origin (the top left corner of the canvas).

Generated using TypeDoc