Skip to content

Commit 06783ca

Browse files
committed
release: 1.1.9.
1 parent e0a721b commit 06783ca

File tree

6 files changed

+21
-6
lines changed

6 files changed

+21
-6
lines changed

CHANGELOG.md

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

3+
## 1.1.9
4+
5+
* Bump flutter-webrtc to 0.9.17
6+
* Enable BroadCastExtension for iOS in example.
7+
38
## 1.1.8
49

510
* Fix resume/full-reconnect.

example/lib/widgets/controls.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,16 @@ class _ControlsWidgetState extends State<ControlsWidget> {
171171
print('could not publish video: $e');
172172
}
173173
}
174+
if (WebRTC.platformIsIOS) {
175+
var track = await LocalVideoTrack.createScreenShareTrack(
176+
const ScreenShareCaptureOptions(
177+
useiOSBroadcastExtension: true,
178+
maxFrameRate: 15.0,
179+
),
180+
);
181+
await participant.publishVideoTrack(track);
182+
return;
183+
}
174184
await participant.setScreenShareEnabled(true, captureScreenAudio: true);
175185
}
176186

example/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ packages:
225225
name: flutter_webrtc
226226
url: "https://pub.dartlang.org"
227227
source: hosted
228-
version: "0.9.14"
228+
version: "0.9.17"
229229
google_fonts:
230230
dependency: "direct main"
231231
description:
@@ -274,7 +274,7 @@ packages:
274274
path: ".."
275275
relative: true
276276
source: path
277-
version: "1.1.7"
277+
version: "1.1.9"
278278
logging:
279279
dependency: "direct main"
280280
description:

lib/src/livekit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'types/other.dart';
55
/// Main entry point to connect to a room.
66
/// {@category Room}
77
class LiveKitClient {
8-
static const version = '1.0.0';
8+
static const version = '1.1.9';
99

1010
/// Convenience method for connecting to a LiveKit server.
1111
/// Returns a [Room] upon a successful connect or throws when it fails.

pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ packages:
260260
name: flutter_webrtc
261261
url: "https://pub.dartlang.org"
262262
source: hosted
263-
version: "0.9.14"
263+
version: "0.9.17"
264264
glob:
265265
dependency: transitive
266266
description:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: livekit_client
22
description: Flutter Client SDK for LiveKit.
33
Build real-time video and audio into your apps. Supports iOS, Android, and Web.
4-
version: 1.1.8
4+
version: 1.1.9
55
homepage: https://livekit.io
66

77
environment:
@@ -23,7 +23,7 @@ dependencies:
2323
uuid: ^3.0.6
2424
synchronized: ^3.0.0+3
2525
protobuf: ^2.1.0
26-
flutter_webrtc: 0.9.14
26+
flutter_webrtc: 0.9.17
2727
dart_webrtc: 1.0.11
2828
device_info_plus: ^6.0.0
2929
webrtc_interface: 1.0.10

0 commit comments

Comments
 (0)