flutter_audio_streaming 1.0.5 copy "flutter_audio_streaming: ^1.0.5" to clipboard
flutter_audio_streaming: ^1.0.5 copied to clipboard

A Flutter plugin for record or streaming audio by RTMP

flutter_audio_streaming #

A Flutter plugin for record or streaming audio by RTMP

Getting Started #

For android I use rtmp-rtsp-stream-client-java and for iOS I use HaishinKit.swift

Features: #

  • Push RTMP audio
  • Record audio (Develop mode)

Installation #

First, add flutter_audio_streaming as a dependency in your pubspec.yaml file.

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>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>
<key>UIBackgroundModes</key>
<array>
    <string>processing</string>
</array>
<key>NSMicrophoneUsageDescription</key>
<string>App requires access to the microphone for live streaming feature.</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'
}
8
likes
120
pub points
45%
popularity

Publisher

unverified uploader

A Flutter plugin for record or streaming audio by RTMP

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_audio_streaming