Skip to content
pubscout

apivideo_live_stream

1.2.0, released 3 years ago by api.video

Flutter RTMP live stream client to broadcast video and audio from smartphone camera.

WASM-ready
$ flutter pub add apivideo_live_stream
Source repository

What it does

Allows you to stream video and audio via RTMP directly from a smartphone camera in your Flutter application. It provides controllers, a camera preview widget, and handles video/audio configurations for live broadcasting.

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

Use it when

  • You need to stream live video and audio via RTMP from a mobile device.
  • You are integrating api.video live streaming features into your Flutter application.

Skip it when

  • You only need standard video playback rather than broadcasting.
  • You need complex local video recording without RTMP streaming.

Strengths

  • Official RTMP live stream client for api.video.
  • Provides a simple ApiVideoCameraPreview widget and controller setup.

Weaknesses

  • Requires platform-specific configuration and permission handling for Android and iOS.
  • Limited to Android and iOS platforms as a plugin.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
4

Requires adding internet, camera, and microphone permissions in AndroidManifest.xml and usage descriptions in iOS Info.plist.

final ApiVideoLiveStreamController _controller = ApiVideoLiveStreamController(
    initialAudioConfig: AudioConfig(), initialVideoConfig: VideoConfig.withDefaultBitrate());
await _controller.initialize();

@override
Widget build(BuildContext context) {
  return SizedBox(
      width: 300.0,
      height: 300.0,
      child: ApiVideoCameraPreview(controller: _controller));
}

Alternatives

Packages that do the same job and could replace apivideo_live_stream.

Works with

Packages commonly used together with apivideo_live_stream: ones it builds on, ones built on it, and its own family.