From 3e8d14a53f28c36cd6d0612de9b774b7d9cb3da0 Mon Sep 17 00:00:00 2001 From: Krille Date: Thu, 9 Mar 2023 20:32:59 +0100 Subject: [PATCH] chore: Switch back to main webrtc --- linux/flutter/generated_plugin_registrant.cc | 4 ++++ linux/flutter/generated_plugins.cmake | 1 + pubspec.lock | 19 +++++++++---------- pubspec.yaml | 3 +-- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index 14a0ae40..438a5e41 100644 --- a/linux/flutter/generated_plugin_registrant.cc +++ b/linux/flutter/generated_plugin_registrant.cc @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -35,6 +36,9 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin"); flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar); + g_autoptr(FlPluginRegistrar) flutter_webrtc_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterWebRTCPlugin"); + flutter_web_r_t_c_plugin_register_with_registrar(flutter_webrtc_registrar); g_autoptr(FlPluginRegistrar) handy_window_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin"); handy_window_plugin_register_with_registrar(handy_window_registrar); diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake index 75edb169..f799b57b 100644 --- a/linux/flutter/generated_plugins.cmake +++ b/linux/flutter/generated_plugins.cmake @@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST emoji_picker_flutter file_selector_linux flutter_secure_storage_linux + flutter_webrtc handy_window record_linux url_launcher_linux diff --git a/pubspec.lock b/pubspec.lock index 59766fda..eeedcedd 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -285,10 +285,10 @@ packages: dependency: transitive description: name: dart_webrtc - sha256: "5d53ae883f314016b822ec498e54dd437c84a71ae2162a243aeb0162deb85158" + sha256: a8244b36b6b673649f489f4f13a011e6fb029de678f6c606dc3f072a088b6ea8 url: "https://pub.dev" source: hosted - version: "1.0.12" + version: "1.0.15" dbus: dependency: transitive description: @@ -790,12 +790,11 @@ packages: flutter_webrtc: dependency: "direct main" description: - path: "." - ref: HEAD - resolved-ref: "3d0bb887ebffe24e8db361e45c777ed44d8df180" - url: "https://github.com/radzio-it/flutter-webrtc.git" - source: git - version: "0.9.18" + name: flutter_webrtc + sha256: "4eacac1b49c65fd225ea69f41b3c28fae55c1f2caba6d5f21a6de2bd43e6dc02" + url: "https://pub.dev" + source: hosted + version: "0.9.24" fuchsia_remote_debug_protocol: dependency: transitive description: flutter @@ -2232,10 +2231,10 @@ packages: dependency: "direct main" description: name: webrtc_interface - sha256: d891c844cbe4a10d0d51469d5af02cafe9be288bed341fe5c797b951bd7e9c18 + sha256: fb79e2dbf594a61bfeed6dc52fa3209d63594ac59930043a9e98371d2d40000c url: "https://pub.dev" source: hosted - version: "1.0.10" + version: "1.0.11" win32: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index eaa5372f..12ee3775 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -44,8 +44,7 @@ dependencies: flutter_secure_storage: ^7.0.1 flutter_typeahead: ^4.3.2 flutter_web_auth: ^0.5.0 - flutter_webrtc: # Until https://github.com/flutter-webrtc/flutter-webrtc/issues/1212 is fixed - git: https://github.com/radzio-it/flutter-webrtc.git + flutter_webrtc: ^0.9.24 future_loading_dialog: ^0.2.3 geolocator: ^7.6.2 handy_window: ^0.1.9