8000 Fix setMicrophoneMute (#466) · next-coder/flutter-webrtc@0bc90b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0bc90b3

Browse files
authored
Fix setMicrophoneMute (flutter-webrtc#466)
1 parent 61d473e commit 0bc90b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/helper.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ class Helper {
117117
throw 'Unable to MediaStreamTrack::setMicrophoneMute: ${e.message}';
118118
}
119119
}
120-
track.enabled = mute;
120+
track.enabled = !mute;
121121
}
122122
}

0 commit comments

Comments
 (0)
0