diff --git a/example/macos/Podfile.lock b/example/macos/Podfile.lock index 660b4fd..4fc86a1 100644 --- a/example/macos/Podfile.lock +++ b/example/macos/Podfile.lock @@ -36,7 +36,7 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos SPEC CHECKSUMS: - flutter_webrtc: e5036305102877d6a3dc18b8754aaae71851cb27 + flutter_webrtc: eb68063546a533bb98f0fbcc7b54daf62edea4ed FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424 livekit_client: b137f094e90d910cfa846b282ad41e0e4a6a029b path_provider_macos: 160cab0d5461f0c0e02995469a98f24bdb9a3f1f diff --git a/lib/src/participant/participant.dart b/lib/src/participant/participant.dart index c568c5c..928edb4 100644 --- a/lib/src/participant/participant.dart +++ b/lib/src/participant/participant.dart @@ -74,9 +74,8 @@ abstract class Participant extends DisposableChangeNotifier ConnectionQuality get connectionQuality => _connectionQuality; /// tracks that are subscribed to - List get subscribedTracks => trackPublications.values - .where((e) => e.subscribed) - .toList(); + List get subscribedTracks => + trackPublications.values.where((e) => e.subscribed).toList(); List get videoTracks => trackPublications.values .where((e) => e.kind == lk_models.TrackType.VIDEO) diff --git a/lib/src/participant/remote_participant.dart b/lib/src/participant/remote_participant.dart index 6e2bac4..5e6bc2d 100644 --- a/lib/src/participant/remote_participant.dart +++ b/lib/src/participant/remote_participant.dart @@ -21,9 +21,8 @@ class RemoteParticipant extends Participant { RTCEngine get engine => _engine; @override - List get subscribedTracks => super.subscribedTracks - .cast() - .toList(); + List get subscribedTracks => + super.subscribedTracks.cast().toList(); @override List get videoTracks =>