flutter - 具有空安全性的 Rtmp 发布者包
问题描述
我尝试了许多 rtmp 发布者包,但每个包都有空安全问题。我是 Flutter 的新手,我正在制作的应用程序需要实时流式传输到 rtmp url。我有 rtmp 网址。我已经使用了这个包,并试图在 vs 代码中运行它。https://github.com/pinkfish/flutter_rtmppublisher。 我收到以下错误。
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':camera_with_rtmp:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':camera_with_rtmp:debugCompileClasspath'.
> Could not resolve project :rtplibrary.
Required by:
project :camera_with_rtmp
> No matching configuration of project :rtplibrary was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
解决方案
推荐阅读
- ios - 避免延迟播放来自其他应用程序的音乐的音频(Soundcloud)
- cypress - Cypress TypeError: this[name] is not a function at AsyncSeriesHook.lazyCompileHook
- atom-editor - 无法在 Mac 上可视化 atom 中的行尾
- android - React Native:原生模块 NativeUnimoduleProxy 试图覆盖 NativeModulesProxy。检查 MainAppication.java 中的 getPackages() 方法
- python - pip install pyinstaller 失败,显示 SSL 错误
- python-3.x - 如何修复可用于 CVGridsearch 的 loky 进程
- php - 如何在谷歌表格 API 上使用过滤器在 ASC 中显示数据值?
- github - 不使用移动设备的 VPN 或热点无法访问 GitHub
- rust - 为拥有的奶牛重用向量堆空间而不转换?
- system - 从命令行状态(200)ok和浏览器状态(404)未找到,浏览器无法找到数据的原因是什么?