From e014f696b0033c9d9d614ed776fa4b7d0b3b44e7 Mon Sep 17 00:00:00 2001 From: CloudWebRTC Date: Thu, 8 Feb 2024 21:04:42 +0800 Subject: [PATCH] release: 2.0.1. (#467) * release: 2.0.1. * bump version for flutter-webrtc. --- CHANGELOG.md | 4 ++++ ios/livekit_client.podspec | 2 +- lib/src/livekit.dart | 2 +- lib/src/publication/remote.dart | 1 + macos/livekit_client.podspec | 2 +- pubspec.yaml | 4 ++-- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd03addf..9a8cbef8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 2.0.1 + +* bug fix for sync streams. + ## 2.0.0 ## Breaking Changes diff --git a/ios/livekit_client.podspec b/ios/livekit_client.podspec index d4b2f252..fec80c7e 100644 --- a/ios/livekit_client.podspec +++ b/ios/livekit_client.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'livekit_client' - s.version = '2.0.0' + s.version = '2.0.1' s.summary = 'Open source platform for real-time audio and video.' s.description = 'Open source platform for real-time audio and video.' s.homepage = 'https://livekit.io/' diff --git a/lib/src/livekit.dart b/lib/src/livekit.dart index 1e271985..b96a5067 100644 --- a/lib/src/livekit.dart +++ b/lib/src/livekit.dart @@ -15,5 +15,5 @@ /// Main entry point to connect to a room. /// {@category Room} class LiveKitClient { - static const version = '2.0.0'; + static const version = '2.0.1'; } diff --git a/lib/src/publication/remote.dart b/lib/src/publication/remote.dart index a5dacd27..dc20cd88 100644 --- a/lib/src/publication/remote.dart +++ b/lib/src/publication/remote.dart @@ -158,6 +158,7 @@ class RemoteTrackPublication .whereNotNull() .map((e) => e.findRenderObject() as RenderBox?) .whereNotNull() + .where((e) => e.hasSize) .map((e) => e.size); logger.finer( diff --git a/macos/livekit_client.podspec b/macos/livekit_client.podspec index c32be3b7..f9eb0606 100644 --- a/macos/livekit_client.podspec +++ b/macos/livekit_client.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'livekit_client' - s.version = '2.0.0' + s.version = '2.0.1' s.summary = 'Open source platform for real-time audio and video.' s.description = 'Open source platform for real-time audio and video.' s.homepage = 'https://livekit.io/' diff --git a/pubspec.yaml b/pubspec.yaml index 5fee1d1a..e99c1703 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,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: 2.0.0 +version: 2.0.1 homepage: https://github.com/livekit/client-sdk-flutter environment: @@ -38,7 +38,7 @@ dependencies: uuid: '>=3.0.6' synchronized: ^3.0.0+3 protobuf: ^3.0.0 - flutter_webrtc: ^0.9.48 + flutter_webrtc: ^0.9.48+hotfix.1 device_info_plus: '>=8.0.0' js: ^0.6.4 platform_detect: ^2.0.7