Rate this page:

VIVideoViewController

A controller for a video view.

Constructors

VIVideoViewController

Copy URL

Props

aspectRatio

Copy URL

double

aspectRatio

Current video aspect ratio.

Use [addListener] method to subscribe to the video frame aspect ratio changes.

Returns

  • type:

    double

height

Copy URL

int

height

Current video frame height.

Use [addListener] method to subscribe to the video frame height changes.

Returns

  • type:

    int

rotation

Copy URL

VIVideoRotation

rotation

Current video rotation.

Use [addListener] method to subscribe to the video frame rotation changes.

Returns

streamId

Copy URL

String?

streamId

The id of the VIVideoStream to be rendered to the VIVideoView this controller belongs to.

Returns

  • type:

    String?

width

Copy URL

int

width

Current video frame width.

Use [addListener] method to subscribe to the video frame width changes.

Returns

  • type:

    int