Merge branch 'braid/webrtc-dialer-init' into 'main'

chore: update WebRTC interface

See merge request famedly/fluffychat!1016
This commit is contained in:
The one with the Braid 2022-10-17 09:35:43 +00:00
commit ad904de954
3 changed files with 8 additions and 6 deletions

View File

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

View File

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

View File

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