mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-19 10:39:26 +01:00
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:
parent
6d70240c14
commit
79c1c29a51
@ -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,
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user