rtmp_broadcaster 2.2.6
rtmp_broadcaster: ^2.2.6 copied to clipboard
An extension of the Flutter camera plugin that enables live video streaming over RTMP on Android and iOS devices.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rtmp_broadcaster
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
rtmp_broadcaster: ^2.2.6
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rtmp_broadcaster/camera.dart';
import 'package:rtmp_broadcaster/camera_image.dart';
import 'package:rtmp_broadcaster/new/camera.dart';
import 'package:rtmp_broadcaster/new/src/camera_controller.dart';
import 'package:rtmp_broadcaster/new/src/camera_testing.dart';
import 'package:rtmp_broadcaster/new/src/common/camera_channel.dart';
import 'package:rtmp_broadcaster/new/src/common/camera_interface.dart';
import 'package:rtmp_broadcaster/new/src/common/camera_mixins.dart';
import 'package:rtmp_broadcaster/new/src/common/native_texture.dart';
import 'package:rtmp_broadcaster/new/src/support_android/camera.dart';
import 'package:rtmp_broadcaster/new/src/support_android/camera_info.dart';