chore: Enable webrtc for linux again

This commit is contained in:
Krille 2023-06-30 19:15:45 +09:00
parent ff5f7ab50e
commit 10ee57722e
No known key found for this signature in database
4 changed files with 15 additions and 13 deletions

View File

@ -11,6 +11,7 @@
#include <dynamic_color/dynamic_color_plugin.h> #include <dynamic_color/dynamic_color_plugin.h>
#include <emoji_picker_flutter/emoji_picker_flutter_plugin.h> #include <emoji_picker_flutter/emoji_picker_flutter_plugin.h>
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h> #include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
#include <flutter_webrtc/flutter_web_r_t_c_plugin.h>
#include <handy_window/handy_window_plugin.h> #include <handy_window/handy_window_plugin.h>
#include <record_linux/record_linux_plugin.h> #include <record_linux/record_linux_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h> #include <url_launcher_linux/url_launcher_plugin.h>
@ -32,6 +33,9 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar = g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar); 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 = g_autoptr(FlPluginRegistrar) handy_window_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin");
handy_window_plugin_register_with_registrar(handy_window_registrar); handy_window_plugin_register_with_registrar(handy_window_registrar);

View File

@ -8,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
dynamic_color dynamic_color
emoji_picker_flutter emoji_picker_flutter
flutter_secure_storage_linux flutter_secure_storage_linux
flutter_webrtc
handy_window handy_window
record_linux record_linux
url_launcher_linux url_launcher_linux

View File

@ -261,10 +261,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: dart_webrtc name: dart_webrtc
sha256: a34e59ac1559cac954e48c9fe156164992163d2f4b7e75d5b0e927ee2f1e4922 sha256: "3f581ea799829fabd6e0b99bd2210146e4d107c7b3ac8495af3510737a5c5c1a"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.16" version: "1.1.1"
dbus: dbus:
dependency: transitive dependency: transitive
description: description:
@ -718,12 +718,11 @@ packages:
flutter_webrtc: flutter_webrtc:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." name: flutter_webrtc
ref: HEAD sha256: "3a07f6840cda81e68014574e65e27880a598c6827b20aeedf74d51cd2db00b36"
resolved-ref: "2c041f15b729157bc9ffcea9cd57cdcc7ba9e951" url: "https://pub.dev"
url: "https://github.com/krille-chan/flutter-webrtc.git" source: hosted
source: git version: "0.9.35"
version: "0.9.31"
fuchsia_remote_debug_protocol: fuchsia_remote_debug_protocol:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -2097,10 +2096,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: webrtc_interface name: webrtc_interface
sha256: "0ac4693f921c81005edefd2f43b9fe84b0ed54481474fe1ee16b789b0c84a77c" sha256: "0dd96f4d7fb6ba9895930644cebd3f1adb5179caa83cb1760061b2fe9cba5aad"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.13" version: "1.1.0"
win32: win32:
dependency: transitive dependency: transitive
description: description:

View File

@ -48,7 +48,7 @@ dependencies:
flutter_secure_storage: ^7.0.1 flutter_secure_storage: ^7.0.1
flutter_typeahead: ^4.3.2 flutter_typeahead: ^4.3.2
flutter_web_auth_2: ^2.1.1 flutter_web_auth_2: ^2.1.1
flutter_webrtc: ^0.9.30+hotfix.2 flutter_webrtc: ^0.9.35
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2
handy_window: ^0.1.9 handy_window: ^0.1.9
@ -153,8 +153,6 @@ dependency_overrides:
git: git:
url: https://gitlab.com/TheOneWithTheBraid/flutter_secure_storage_windows.git url: https://gitlab.com/TheOneWithTheBraid/flutter_secure_storage_windows.git
ref: main ref: main
flutter_webrtc:
git: https://github.com/krille-chan/flutter-webrtc.git
geolocator_android: geolocator_android:
hosted: hosted:
name: geolocator_android name: geolocator_android