onUserVideoSizeChanged property
4.10 User Video Size Changed Event
roomId Room ID
userId User ID or mixed stream ID. When the local user is an audience and successfully connected to the host, this parameter represents the host's user ID; otherwise, it represents the mixed stream ID.
streamType Video stream type. More details, see TUIVideoStreamType.
width Video width
height Video height
Implementation
OnUserVideoSizeChanged onUserVideoSizeChanged = (String roomId, String userId,
TUIVideoStreamType streamType, int width, int height) {};