onVideoSizeChanged property
void Function(RtcConnection connection, VideoSourceType sourceType, int uid, int width, int height, int rotation)?
onVideoSizeChanged
final
Callback when the size and rotation of local or remote video changes.
connectionConnection information. See RtcConnection.sourceTypeType of video source. See VideoSourceType.uidUser ID whose video size or rotation has changed (uid is 0 for local user, indicating local video preview).widthWidth of the video stream (pixels).heightHeight of the video stream (pixels).rotationRotation information, value range [0,360). On iOS, this value is always 0.
Implementation
final void Function(RtcConnection connection, VideoSourceType sourceType,
int uid, int width, int height, int rotation)? onVideoSizeChanged;