Merge branch 'braid/webrtc-dialer-init' into 'main'
chore: update WebRTC interface See merge request famedly/fluffychat!1016
This commit is contained in:
commit
4fd9a3ff82
3 changed files with 8 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue