Skip to content
pubscout

rtmp_streaming

3.0.0, released 4 weeks ago by an unverified publisher

Flutter plugin for camera and microphone streaming via RTMP, SRT, RTSP, and WHIP/WHEP.

$ flutter pub add rtmp_streaming
Source repository

What it does

Provides unified video and audio recording and live streaming for Android and iOS. Supports protocols like RTMP, SRT, RTSP, UDP, and WHIP/WHEP, along with multi-streaming and custom filters.

AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to stream camera and microphone feeds via RTMP, SRT, or WHIP in a Flutter app.
  • You require a cross-platform solution supporting both Android and iOS for live broadcasting.

Skip it when

  • You only need standard local video playback without publishing or broadcasting.
  • You require full WHEP support on Android (WHEP is iOS-alpha only).

Strengths

  • Supports multiple streaming protocols including RTMP, SRT, RTSP, and WHIP.
  • Cross-platform support for Android and iOS using modern native foundations (RootEncoder and HaishinKit).
  • Provides multi-streaming capabilities to stream to multiple destinations simultaneously.

Weaknesses

  • Some protocols or advanced features (like WHEP or specific camera controls) differ between Android and iOS.
  • Requires platform-specific configuration for native build tools and lifecycle setups.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Requires Android build configurations (AGP, Gradle, Kotlin versions) and Xcode configurations such as UIScene lifecycle adoption for iOS.

final cameras = await availableCameras();
final controller = CameraController(ResolutionPreset.high, enableAudio: true);
await controller.initialize(cameras.first);
await controller.startVideoStreaming('rtmp://your-server/live/stream-key', protocol: StreamingProtocol.rtmp);

Alternatives

Packages that do the same job and could replace rtmp_streaming.

  • haishin_kit

    A Flutter plugin for Camera and Microphone streaming library via RTMP and SRT.

  • camerawesome

    Easiest Flutter camera Plugin with builtin UI. Supporting capturing images, streaming images, video recording, switch sensors, autofocus, flash, filters... on Android and iOS.

  • hmssdk_flutter

    Add real-time audio and video conferencing, interactive streaming, and chat capabilities.

  • flutter_background_video_recorder

    Record video and audio on Android from a foreground service, with raw frame and audio streams.