feat: 添加 WebSocket、WebRTC 与 Protobuf 支持

This commit is contained in:
TongTongStudio
2026-07-24 12:06:56 +08:00
parent f550ba6c24
commit 7123039b87
15 changed files with 609 additions and 1 deletions

View File

@@ -6,6 +6,9 @@
#include "generated_plugin_registrant.h"
#include <flutter_webrtc/flutter_web_r_t_c_plugin.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
FlutterWebRTCPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FlutterWebRTCPlugin"));
}

View File

@@ -3,9 +3,11 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
flutter_webrtc
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST
jni
)
set(PLUGIN_BUNDLED_LIBRARIES)