fix updateTrack bug

This commit is contained in:
Hiroshi Horie
2021-11-22 21:22:28 +07:00
parent 4f0973ce66
commit f9c2622b4e
+1 -1
View File
@@ -144,7 +144,7 @@ class RemoteTrackPublication extends TrackPublication {
@internal
@override
Future<bool> updateTrack(Track? newValue) async {
final didUpdate = await super.updateTrack(track);
final didUpdate = await super.updateTrack(newValue);
// Only listen for visibility updates if video optimization is on
// and the attached track is a video track