video_stream
一个用于将视频实时流式传输到RTMP服务器的新Flutter包。
MarshallTechnology/video_stream open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
A new Flutter package for basic live streaming video to RTMP server.
This plugin is an simplified version of camera_with_rtmp an extension of the flutter camera plugin to add in rtmp streaming as part of the system. It works on android and iOS (but not web).
Add two rows to the ios/Runner/Info.plist:
Privacy - Camera Usage Description and a usage description.Privacy - Microphone Usage Description and a usage description.Or in text format add the key:
<key>NSCameraUsageDescription</key>
<string>Can I use the camera please?</string>
<key>NSMicrophoneUsageDescription</key>
<string>Can I use the mic please?</string>
Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.
minSdkVersion 21
Need to add in a section to the packaging options to exclude a file, or gradle will error on building.
packagingOptions {
exclude 'project.clj'
}
依赖清单 6 项
{"sdk":"flutter"}^2.0.0^2.0.2^2.1.10{"sdk":"flutter"}^1.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗