Audio mute unmute fixes (#234)
* progress * refresh * Create Podfile.lock * Update Podfile.lock * pub * update deps. * fix tests * dart format . * fix duplicate imports --------- Co-authored-by: cloudwebrtc <[email protected]>
This commit is contained in:
co-authored by
cloudwebrtc
parent
75412779a2
commit
a23eb6332c
@@ -52,20 +52,6 @@ mixin LocalAudioManagementMixin on LocalTrack, AudioTrack {
|
||||
}
|
||||
return didUpdate;
|
||||
}
|
||||
|
||||
Future<void> onTrackStopped() async {
|
||||
await _trackCounterLock.synchronized(() async {
|
||||
_localTrackCount--;
|
||||
await _onAudioTrackCountDidChange();
|
||||
});
|
||||
}
|
||||
|
||||
Future<void> onTrackStarted() async {
|
||||
await _trackCounterLock.synchronized(() async {
|
||||
_localTrackCount++;
|
||||
await _onAudioTrackCountDidChange();
|
||||
});
|
||||
}
|
||||
}
|
||||
mixin RemoteAudioManagementMixin on RemoteTrack, AudioTrack {
|
||||
/// Start playing audio track. On web platform, create an audio element and
|
||||
|
||||
Reference in New Issue
Block a user