We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae996a commit 5e50d09Copy full SHA for 5e50d09
lib/src/track/remote/remote.dart
@@ -43,8 +43,8 @@ abstract class RemoteTrack extends Track {
43
44
@override
45
Future<bool> stop() async {
46
- final didStop = await super.stop() || !muted;
47
- if (didStop) {
+ final didStop = await super.stop();
+ if (didStop || !muted) {
48
await disable();
49
}
50
return didStop;
lib/src/track/track.dart
@@ -155,6 +155,7 @@ abstract class Track extends DisposableChangeNotifier
155
try {
156
if (_active || !_muted) {
157
mediaStreamTrack.enabled = false;
158
+ if (!_muted) _muted = true;
159
160
} catch (_) {
161
logger.warning(
0 commit comments