fix: close issue #154. (#155)

This commit is contained in:
CloudWebRTC
2022-09-07 10:13:32 +08:00
committed by GitHub
parent d6d2f36428
commit 82e8a9eedf
+1 -1
View File
@@ -129,7 +129,7 @@ abstract class _ParticipantWidgetState<T extends ParticipantWidget>
// Video
InkWell(
onTap: () => setState(() => _visible = !_visible),
child: activeVideoTrack != null
child: activeVideoTrack != null && !activeVideoTrack!.muted
? VideoTrackRenderer(
activeVideoTrack!,
fit: RTCVideoViewObjectFit.RTCVideoViewObjectFitContain,