diff --git a/CHANGELOG.md b/CHANGELOG.md index a63afba..e3e726c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 1.1.1-hotfix + +* Fix compilation error caused by webrtc-interface version jumping. + ## 1.1.1 * Add hardware api for camera and audio input/output selection. diff --git a/example/pubspec.lock b/example/pubspec.lock index 95e1d29..1ba9ac7 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -281,7 +281,7 @@ packages: path: ".." relative: true source: path - version: "1.1.1" + version: "1.1.1-hotifx" logging: dependency: "direct main" description: diff --git a/lib/src/managers/event.dart b/lib/src/managers/event.dart index de26168..91d21d4 100644 --- a/lib/src/managers/event.dart +++ b/lib/src/managers/event.dart @@ -134,13 +134,13 @@ abstract class EventsListenable extends Disposable { _listeners.add(listener); // make a cancel func to cancel listening and remove from list in 1 call - _cancelFunc() async { + cancelFunc() async { await listener.cancel(); _listeners.remove(listener); logger.fine('${objectId} event was cancelled by func'); } - return _cancelFunc; + return cancelFunc; } // convenience method to listen & filter a specific event type diff --git a/pubspec.yaml b/pubspec.yaml index b02a8ab..a0a5301 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: livekit_client description: Flutter Client SDK for LiveKit. Build real-time video and audio into your apps. Supports iOS, Android, and Web. -version: 1.1.1 +version: 1.1.1-hotfix homepage: https://livekit.io environment: @@ -15,6 +15,7 @@ dependencies: sdk: flutter async: ^2.6.1 collection: ^1.15.0 + connectivity_plus: ^2.3.6+1 fixnum: ^1.0.1 meta: ^1.3.0 http: ^0.13.3 @@ -25,7 +26,7 @@ dependencies: flutter_webrtc: 0.9.4 dart_webrtc: 1.0.7 device_info_plus: ^3.2.3 - connectivity_plus: ^2.3.6+1 + webrtc_interface: 1.0.7 dev_dependencies: flutter_test: