release: 1.1.9.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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:
|
||||
@@ -274,7 +274,7 @@ packages:
|
||||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "1.1.7"
|
||||
version: "1.1.9"
|
||||
logging:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user