From 253b7b5b6cdc484a87051c3fe722548c6a513efa Mon Sep 17 00:00:00 2001 From: CloudWebRTC Date: Mon, 12 Aug 2024 14:57:09 +0800 Subject: [PATCH] release: 2.2.4. (#572) * release: 2.2.4. * update CHANGELOG. * fix compiler error for android. --- CHANGELOG.md | 11 ++++++++++- android/build.gradle | 2 +- example/android/build.gradle | 11 ++++++++++- ios/livekit_client.podspec | 2 +- lib/src/livekit.dart | 2 +- macos/livekit_client.podspec | 2 +- pubspec.yaml | 4 ++-- 7 files changed, 26 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2261a4f..4addcd6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,20 @@ # CHANGELOG +## 2.2.4 + +* fix bug for PlatformView on iOS (#570) +* Deprecated `connectOptions` in `Room` constructor. +* Deprecated `roomOptions` int `room.connect`. +* Added `screenShareEncoding` for `VideoPublishOptions`. +* Change `CameraCaptureOptions.params.encoding` to optional. + It is recommended to use `VideoPublishOptions.videoEncoding/screenShareEncoding` + to control the video sending bitrate. + ## 2.2.3 * add PlatformView for iOS (#509) * update lints to 4.0.0. (#563) - ## 2.2.2 * feat: expose DegradationPreference for publish options. (#556) diff --git a/android/build.gradle b/android/build.gradle index db62ed26..0e4179fe 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,7 +2,7 @@ group 'io.livekit.plugin' version '1.0-SNAPSHOT' buildscript { - ext.kotlin_version = '1.6.10' + ext.kotlin_version = '1.7.10' repositories { google() mavenCentral() diff --git a/example/android/build.gradle b/example/android/build.gradle index e16e578d..860070d1 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.6.10' + ext.kotlin_version = '1.7.10' repositories { google() jcenter() @@ -12,6 +12,15 @@ buildscript { } allprojects { + afterEvaluate { project -> + if (project.plugins.hasPlugin("com.android.application") || + project.plugins.hasPlugin("com.android.library")) { + project.android { + compileSdkVersion 34 + buildToolsVersion "34.0.0" + } + } + } repositories { google() jcenter() diff --git a/ios/livekit_client.podspec b/ios/livekit_client.podspec index 1adfcd0d..47b865dc 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.2.3' + s.version = '2.2.4' 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 3c45aa6f..201de876 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.2.3'; + static const version = '2.2.4'; } diff --git a/macos/livekit_client.podspec b/macos/livekit_client.podspec index ed83983d..b05e760e 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.2.3' + s.version = '2.2.4' 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 8c075137..9424a278 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.2.3 +version: 2.2.4 homepage: https://github.com/livekit/client-sdk-flutter environment: @@ -37,7 +37,7 @@ dependencies: uuid: '>=3.0.6' synchronized: ^3.0.0+3 protobuf: ^3.0.0 - flutter_webrtc: ^0.11.6 + flutter_webrtc: ^0.11.6+hotfix.1 device_info_plus: '>=8.0.0' js: '>=0.6.4' platform_detect: ^2.0.7