ponnamkarthik / FlutterRtmpPlublisher

A Flutter Plugins that helps you to brodcast Live via RTMP right from your flutter application
Other
53 stars 44 forks source link

flutter_rtmp_publisher

This Plugins helps to brodcast Live via RTMP right from your flutter application. In a single Line of code.

Under the hood plugins uses SRS(Simple-RTMP-Server) for Android and LFLiveKit for iOS

Supported Platforms

  • Android
  • iOS

How to use

# add this line to your dependencies
flutter_rtmp_publisher: ^0.0.1
import 'package:flutter_rtmp_publisher/flutter_rtmp_publisher.dart';
// To start the stream call
RTMPPublisher.streamVideo("<PLACE_YOUR_RTMP_STREAM_URL>");

It only takes one required parameter i.e., url

  • Make sure your app has camera permission

Preview Images

If you need any features suggest

if you like it please star