videoSizeChanged property Null safety

VideoSizeCallback? videoSizeChanged
read / write

Occurs when the video size or rotation information of a remote user changes.

The VideoSizeCallback typedef includes the following parameters:

  • int uid: User ID of the remote user or local user (0) whose video size or rotation changes.
  • int width: New width (pixels) of the video.
  • int height: New height (pixels) of the video.
  • int rotation: New rotation of the video [0 to 360).


VideoSizeCallback? videoSizeChanged;