rtmp_publisher 0.3.7 rtmp_publisher: ^0.3.7 copied to clipboard
Controlling the camera on Android and iOS plus rtmp live streaming support. Based off the Camera plugin.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rtmp_publisher
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
rtmp_publisher: ^0.3.7
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_publisher/camera.dart';
import 'package:rtmp_publisher/camera_image.dart';
import 'package:rtmp_publisher/new/camera.dart';
import 'package:rtmp_publisher/new/src/camera_controller.dart';
import 'package:rtmp_publisher/new/src/camera_testing.dart';
import 'package:rtmp_publisher/new/src/common/camera_channel.dart';
import 'package:rtmp_publisher/new/src/common/camera_interface.dart';
import 'package:rtmp_publisher/new/src/common/camera_mixins.dart';
import 'package:rtmp_publisher/new/src/common/native_texture.dart';
import 'package:rtmp_publisher/new/src/support_android/camera.dart';
import 'package:rtmp_publisher/new/src/support_android/camera_info.dart';