Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 411b380

Browse files
Merge pull request #10 from MohamedRisaldarTA/main
Added callback onFirstFrameRendered
2 parents 383058f + 65d7128 commit 411b380

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)

AltStyle によって変換されたページ (->オリジナル) /