Skip to content

Commit

Permalink
release: 2.2.7. (#610)
Browse files Browse the repository at this point in the history
* release: 2.2.7.

* update.

* Update build.yaml

* import sorter.

* bump version for flutter-webrtc.
  • Loading branch information
cloudwebrtc authored Oct 21, 2024
1 parent 385ae8b commit 42ab40c
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
channel: 'stable'
- name: Install project dependencies
run: flutter pub get
- name: Upgrade to major versions
run: flutter pub upgrade --major-versions
- name: Dart Format Check
run: dart format lib/ test/ --set-exit-if-changed
- name: Import Sorter Check
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# CHANGELOG

## 2.2.7

* feat: support bypass voice processing. (#595)
* fix: Dispose LocalParticipant when room.disconnect. (#609)
* Fix spelling error in method name: _checkPremissions to _checkPermissions (#605)
* fix: fix speaker switching behavior for android. (#604)
* fix: Optimize stats display (#602)
* fix: Handle disconnect reasons correctly. (#594)

## 2.2.6

* fix: android build failure. (#587)
Expand Down
2 changes: 1 addition & 1 deletion ios/livekit_client.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'livekit_client'
s.version = '2.2.6'
s.version = '2.2.7'
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/'
Expand Down
13 changes: 9 additions & 4 deletions lib/src/livekit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,22 @@

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

import 'package:livekit_client/livekit_client.dart';

/// Main entry point to connect to a room.
/// {@category Room}
class LiveKitClient {
static const version = '2.2.6';
static const version = '2.2.7';

/// Initialize the WebRTC plugin. If this is not manually called, will be
/// initialized with default settings.
/// This method must be called before calling any LiveKit SDK API.
static Future<void> initialize({bool bypassVoiceProcessing = false}) async {
await rtc.WebRTC.initialize(options: {
if (bypassVoiceProcessing) 'bypassVoiceProcessing': bypassVoiceProcessing,
});
if (lkPlatformIsMobile()) {
await rtc.WebRTC.initialize(options: {
if (bypassVoiceProcessing)
'bypassVoiceProcessing': bypassVoiceProcessing,
});
}
}
}
1 change: 0 additions & 1 deletion lib/src/proto/google/protobuf/timestamp.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import 'dart:core' as $core;

import 'package:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb;

import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;

class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
Expand Down
2 changes: 1 addition & 1 deletion macos/livekit_client.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'livekit_client'
s.version = '2.2.6'
s.version = '2.2.7'
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/'
Expand Down
7 changes: 2 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.6
version: 2.2.7
homepage: https://github.com/livekit/client-sdk-flutter

environment:
Expand All @@ -37,10 +37,7 @@ dependencies:
uuid: '>=3.0.6'
synchronized: ^3.0.0+3
protobuf: ^3.0.0
flutter_webrtc:
git:
url: https://github.com/flutter-webrtc/flutter-webrtc.git
ref: feat/support-unprocessed-audio
flutter_webrtc: ^0.12.1
device_info_plus: '>=8.0.0'
js: '>=0.6.4'
platform_detect: ^2.0.7
Expand Down

0 comments on commit 42ab40c

Please sign in to comment.