Skip to content

Commit 159fa75

Browse files
committed
Added comment for VideoRenderer.onResize.
1 parent ef1c93e commit 159fa75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/rtc_video_renderer.dart

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ class RTCVideoValue {
4343
abstract class VideoRenderer {
4444
VideoRenderer();
4545

46+
/// When the video size changes, or the native texture
47+
/// changes (angle or size), notify the user to redraw the Widget.
4648
Function? onResize;
4749

4850
int get videoWidth;

0 commit comments

Comments
 (0)