chore: update WebRTC interface

- fixes "dial" starting when opening FluffyChat

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-10-17 10:50:21 +02:00
parent 6d70240c14
commit 79c1c29a51
3 changed files with 8 additions and 6 deletions

View File

@ -291,12 +291,14 @@ class MyCallingPage extends State<Calling> {
void _screenSharing() async {
if (PlatformInfos.isAndroid) {
if (!call.screensharingEnabled) {
await FlutterForegroundTask.init(
FlutterForegroundTask.init(
androidNotificationOptions: AndroidNotificationOptions(
channelId: 'notification_channel_id',
channelName: 'Foreground Notification',
channelDescription: L10n.of(context)!.foregroundServiceRunning,
),
iosNotificationOptions: const IOSNotificationOptions(),
foregroundTaskOptions: const ForegroundTaskOptions(),
);
FlutterForegroundTask.startService(
notificationTitle: L10n.of(context)!.screenSharingTitle,

View File

@ -303,7 +303,7 @@ packages:
name: dart_webrtc
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.7"
version: "1.0.9"
dbus:
dependency: transitive
description:
@ -759,7 +759,7 @@ packages:
name: flutter_webrtc
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.5"
version: "0.9.11"
fuchsia_remote_debug_protocol:
dependency: transitive
description: flutter
@ -2008,7 +2008,7 @@ packages:
name: webrtc_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.7"
version: "1.0.8"
win32:
dependency: transitive
description:

View File

@ -50,7 +50,7 @@ dependencies:
flutter_svg: ^0.22.0
flutter_typeahead: ^4.0.0
flutter_web_auth: ^0.4.0
flutter_webrtc: ^0.9.5
flutter_webrtc: ^0.9.11
future_loading_dialog: ^0.2.3
geolocator: ^7.6.2
handy_window: ^0.1.6
@ -95,7 +95,7 @@ dependencies:
video_player: ^2.2.18
vrouter: ^1.2.0+21
wakelock: ^0.6.1+1
webrtc_interface: ^1.0.7
webrtc_interface: ^1.0.8
dev_dependencies:
dart_code_metrics: ^4.10.1