Rate this page:

VIVideoViewController

A controller for a video view.

Constructors

VIVideoViewController

Copy URL

Props

aspectRatio

Copy URL
aspectRatio: 

Current video aspect ratio.

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

Returns

  • type:

    double

height

Copy URL
height: 

Current video frame height.

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

Returns

  • type:

    int

rotation

Copy URL
rotation: 

Current video rotation.

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

Returns

streamId

Copy URL
streamId: 

ID of the VIVideoStream to be rendered to the VIVideoView this controller belongs to.

Returns

  • type:

    String?

width

Copy URL
width: 

Current video frame width.

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

Returns

  • type:

    int