Class VideoCanvas

Attributes of the video canvas object.

Hierarchy

  • VideoCanvas

Constructors

Properties

cropArea?: Rectangle

(Optional) Display area of the video frame, see Rectangle . width and height represent the video pixel width and height of the area. The default value is null (width or height is 0), which means that the actual resolution of the video frame is displayed.

mediaPlayerId?: number

The ID of the media player. You can get the Device ID by calling getMediaPlayerId .

mirrorMode?: VideoMirrorModeType

The mirror mode of the view. See VideoMirrorModeType .For the mirror mode of the local video view: If you use a front camera, the SDK enables the mirror mode by default; if you use a rear camera, the SDK disables the mirror mode by default.For the remote user: The mirror mode is disabled by default.

renderMode?: RenderModeType

The rendering mode of the video. See RenderModeType .

setupMode?: VideoViewSetupMode

Setting mode of the view. See VideoViewSetupMode .

sourceType?: VideoSourceType

The type of the video source. See VideoSourceType .

uid?: number

The user ID.

view?: any

Video display window.

Generated using TypeDoc