Skip to content

Commit

Permalink
release: 1.1.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc committed Nov 28, 2022
1 parent e0a721b commit 06783ca
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## 1.1.9

* Bump flutter-webrtc to 0.9.17
* Enable BroadCastExtension for iOS in example.

## 1.1.8

* Fix resume/full-reconnect.
Expand Down
10 changes: 10 additions & 0 deletions example/lib/widgets/controls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,16 @@ class _ControlsWidgetState extends State<ControlsWidget> {
print('could not publish video: $e');
}
}
if (WebRTC.platformIsIOS) {
var track = await LocalVideoTrack.createScreenShareTrack(
const ScreenShareCaptureOptions(
useiOSBroadcastExtension: true,
maxFrameRate: 15.0,
),
);
await participant.publishVideoTrack(track);
return;
}
await participant.setScreenShareEnabled(true, captureScreenAudio: true);
}

Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ packages:
name: flutter_webrtc
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.14"
version: "0.9.17"
google_fonts:
dependency: "direct main"
description:
Expand Down Expand Up @@ -274,7 +274,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.1.7"
version: "1.1.9"
logging:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/livekit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'types/other.dart';
/// Main entry point to connect to a room.
/// {@category Room}
class LiveKitClient {
static const version = '1.0.0';
static const version = '1.1.9';

/// Convenience method for connecting to a LiveKit server.
/// Returns a [Room] upon a successful connect or throws when it fails.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ packages:
name: flutter_webrtc
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.14"
version: "0.9.17"
glob:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.8
version: 1.1.9
homepage: https://livekit.io

environment:
Expand All @@ -23,7 +23,7 @@ dependencies:
uuid: ^3.0.6
synchronized: ^3.0.0+3
protobuf: ^2.1.0
flutter_webrtc: 0.9.14
flutter_webrtc: 0.9.17
dart_webrtc: 1.0.11
device_info_plus: ^6.0.0
webrtc_interface: 1.0.10
Expand Down

0 comments on commit 06783ca

Please sign in to comment.