onFrameResolutionChanged method
void
onFrameResolutionChanged()
override
Implementation
@override
void onFrameResolutionChanged(
String uid, int width, int height, int rotation) {
Alog.i(
tag: _tag,
moduleName: _moduleName,
content:
'onFrameResolutionChanged uid=$uid width=$width height=$height rotation=$rotation',
);
if (uid == getScreenShareUserId() &&
_screenShareController != null &&
(_screenShareWidth != width || _screenShareHeight != height)) {
_screenShareWidth = width;
_screenShareHeight = height;
_screenShareController!.value = Matrix4.identity();
}
}