rtmp_with_capture 0.0.3 copy "rtmp_with_capture: ^0.0.3" to clipboard
rtmp_with_capture: ^0.0.3 copied to clipboard

PlatformAndroidiOS
outdated

During RTMP streaming, enable capturing images for a certain task.

rtmp_with_capture #

A new Flutter package for basic live streaming video to RTMP server. Capturing images during streaming is also possible.

Getting Started #

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. We also add takePhoto method to get a image during rtmp streaming. It works on android and iOS (but not web).

Features: #

  • Display live camera preview in a widget.
  • stream video to a rtmp server.

iOS #

Add two rows to the ios/Runner/Info.plist:

  • one with the key Privacy - Camera Usage Description and a usage description.
  • and one with the key 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>

Android #

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'
}
3
likes
130
pub points
42%
popularity

Publisher

unverified uploader

During RTMP streaming, enable capturing images for a certain task.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, image

More

Packages that depend on rtmp_with_capture