Skip to content

Commit 42ab40c

Browse files
authored
release: 2.2.7. (#610)
* release: 2.2.7. * update. * Update build.yaml * import sorter. * bump version for flutter-webrtc.
1 parent 385ae8b commit 42ab40c

File tree

7 files changed

+22
-14
lines changed

7 files changed

+22
-14
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
channel: 'stable'
3737
- name: Install project dependencies
3838
run: flutter pub get
39-
- name: Upgrade to major versions
40-
run: flutter pub upgrade --major-versions
4139
- name: Dart Format Check
4240
run: dart format lib/ test/ --set-exit-if-changed
4341
- name: Import Sorter Check

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG
22

3+
## 2.2.7
4+
5+
* feat: support bypass voice processing. (#595)
6+
* fix: Dispose LocalParticipant when room.disconnect. (#609)
7+
* Fix spelling error in method name: _checkPremissions to _checkPermissions (#605)
8+
* fix: fix speaker switching behavior for android. (#604)
9+
* fix: Optimize stats display (#602)
10+
* fix: Handle disconnect reasons correctly. (#594)
11+
312
## 2.2.6
413

514
* fix: android build failure. (#587)

ios/livekit_client.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'livekit_client'
3-
s.version = '2.2.6'
3+
s.version = '2.2.7'
44
s.summary = 'Open source platform for real-time audio and video.'
55
s.description = 'Open source platform for real-time audio and video.'
66
s.homepage = 'https://livekit.io/'

lib/src/livekit.dart

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,22 @@
1414

1515
import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc;
1616

17+
import 'package:livekit_client/livekit_client.dart';
18+
1719
/// Main entry point to connect to a room.
1820
/// {@category Room}
1921
class LiveKitClient {
20-
static const version = '2.2.6';
22+
static const version = '2.2.7';
2123

2224
/// Initialize the WebRTC plugin. If this is not manually called, will be
2325
/// initialized with default settings.
2426
/// This method must be called before calling any LiveKit SDK API.
2527
static Future<void> initialize({bool bypassVoiceProcessing = false}) async {
26-
await rtc.WebRTC.initialize(options: {
27-
if (bypassVoiceProcessing) 'bypassVoiceProcessing': bypassVoiceProcessing,
28-
});
28+
if (lkPlatformIsMobile()) {
29+
await rtc.WebRTC.initialize(options: {
30+
if (bypassVoiceProcessing)
31+
'bypassVoiceProcessing': bypassVoiceProcessing,
32+
});
33+
}
2934
}
3035
}

lib/src/proto/google/protobuf/timestamp.pb.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import 'dart:core' as $core;
2323

2424
import 'package:fixnum/fixnum.dart' as $fixnum;
2525
import 'package:protobuf/protobuf.dart' as $pb;
26-
2726
import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
2827

2928
class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {

macos/livekit_client.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'livekit_client'
3-
s.version = '2.2.6'
3+
s.version = '2.2.7'
44
s.summary = 'Open source platform for real-time audio and video.'
55
s.description = 'Open source platform for real-time audio and video.'
66
s.homepage = 'https://livekit.io/'

pubspec.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
name: livekit_client
1616
description: Flutter Client SDK for LiveKit.
1717
Build real-time video and audio into your apps. Supports iOS, Android, and Web.
18-
version: 2.2.6
18+
version: 2.2.7
1919
homepage: https://github.com/livekit/client-sdk-flutter
2020

2121
environment:
@@ -37,10 +37,7 @@ dependencies:
3737
uuid: '>=3.0.6'
3838
synchronized: ^3.0.0+3
3939
protobuf: ^3.0.0
40-
flutter_webrtc:
41-
git:
42-
url: https://github.com/flutter-webrtc/flutter-webrtc.git
43-
ref: feat/support-unprocessed-audio
40+
flutter_webrtc: ^0.12.1
4441
device_info_plus: '>=8.0.0'
4542
js: '>=0.6.4'
4643
platform_detect: ^2.0.7

0 commit comments

Comments
 (0)