From 82e8a9eedfc3b59932338a5ba93f6cf5934bca0c Mon Sep 17 00:00:00 2001 From: CloudWebRTC Date: Wed, 7 Sep 2022 10:13:32 +0800 Subject: [PATCH] fix: close issue #154. (#155) --- example/lib/widgets/participant.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/lib/widgets/participant.dart b/example/lib/widgets/participant.dart index 8e23cd8..070f6e5 100644 --- a/example/lib/widgets/participant.dart +++ b/example/lib/widgets/participant.dart @@ -129,7 +129,7 @@ abstract class _ParticipantWidgetState // Video InkWell( onTap: () => setState(() => _visible = !_visible), - child: activeVideoTrack != null + child: activeVideoTrack != null && !activeVideoTrack!.muted ? VideoTrackRenderer( activeVideoTrack!, fit: RTCVideoViewObjectFit.RTCVideoViewObjectFitContain,