Skip to content

Commit 65d7128

Browse files
Added callback onFirstFrameRendered
1 parent 383058f commit 65d7128

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/rtc_video_renderer.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ abstract class VideoRenderer {
4747
/// changes (angle or size), notify the user to redraw the Widget.
4848
Function? onResize;
4949

50+
/// When the first frame is rendered, notify the user that video started playing.
51+
Function? onFirstFrameRendered;
52+
5053
int get videoWidth;
5154

5255
int get videoHeight;

0 commit comments

Comments
 (0)