百度云 RTC Flutter 插件 (社区维护版本)
Baidu Cloud RTC Flutter plugin (Community Maintained)
这是百度云 WebRTC Flutter 插件的社区维护版本。官方 1.0.0 版本已经很久没有更新,存在以下问题:
- ❌ SDK 版本限制为
>=2.16.1 <3.0.0,不支持 Flutter 3.x - ❌ 依赖的插件版本过旧,与现代 Flutter 项目不兼容
- ❌ 缺少必要的维护和更新
本版本修复内容:
- ✅ 更新 SDK 支持到
>=3.0.0 <4.0.0 - ✅ 更新所有依赖插件到兼容版本
- ✅ 修复 Android 编译错误(
PluginRegistry.Registrar已弃用问题) - ✅ 修复代码兼容性问题
- ✅ 确保在最新 Flutter 环境下正常运行
This is a community-maintained version of Baidu Cloud WebRTC Flutter plugin. The official 1.0.0 version has not been updated for a long time and has the following issues:
- ❌ SDK version restricted to
>=2.16.1 <3.0.0, not supporting Flutter 3.x - ❌ Outdated plugin dependencies incompatible with modern Flutter projects
- ❌ Lack of necessary maintenance and updates
This version fixes:
- ✅ Updated SDK support to
>=3.0.0 <4.0.0 - ✅ Updated all plugin dependencies to compatible versions
- ✅ Fixed Android compilation errors (deprecated
PluginRegistry.RegistrarAPI) - ✅ Fixed code compatibility issues
- ✅ Ensured proper operation in the latest Flutter environment
在你的 pubspec.yaml 中添加:
dependencies:
bdcloud_rtc:
git:
url: https://github.com/YOUR_USERNAME/bdcloud_rtc.git然后运行:
flutter pub get请参考 example 目录中的完整示例项目。
See the complete example project in the example directory.
- Flutter SDK:
>=3.0.0 <4.0.0 - Dart SDK:
>=3.0.0 <4.0.0 - Android: minSdkVersion 21
- iOS: 10.0+
百度云 RTC 官方文档:https://cloud.baidu.com/doc/RTC/s/xlnvgoek9
Baidu Cloud RTC Official Documentation: https://cloud.baidu.com/doc/RTC/s/xlnvgoek9
欢迎提交 Issue 和 Pull Request!
Issues and Pull Requests are welcome!
请查看 LICENSE 文件。
See LICENSE file for details.
本项目为社区维护版本,非百度官方维护。使用本插件产生的任何问题,请在本仓库提交 Issue。
This is a community-maintained version, not officially maintained by Baidu. For any issues with this plugin, please submit an issue in this repository.