Rate this page:

VIVideoViewController

A controller for a video view.

Constructors

VIVideoViewController

Copy URL
 VIVideoViewController()

Props

aspectRatio

Copy URL
public 

double

aspectRatio

Current video aspect ratio.

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

Returns

  • type:

    double

height

Copy URL
public 

int

height

Current video frame height.

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

Returns

  • type:

    int

rotation

Copy URL
public 

VIVideoRotation

rotation

Current video rotation.

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

Returns

streamId

Copy URL
public 

String?

streamId

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

Returns

  • type:

    String?

width

Copy URL
public 

int

width

Current video frame width.

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

Returns

  • type:

    int