Skip to content
pubscout

flutter_webrtc

1.6.3, released 4 weeks ago by flutter-webrtc.org

WebRTC plugin for real-time audio, video and data communication.

Rock solid
$ flutter pub add flutter_webrtc
Source repository

What it does

Provides WebRTC APIs for Flutter applications across mobile, desktop, and web platforms. Enables peer-to-peer audio/video streaming, data channels, and screen capture using native GoogleWebRTC bindings.

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

Use it when

  • Building real-time video calling or audio conferencing applications
  • Implementing peer-to-peer data channels for multiplayer games or file sharing
  • Sharing screen contents across mobile and desktop platforms

Skip it when

  • You only need simple media playback from URLs without peer-to-peer streaming
  • You want a fully managed video backend without setting up signaling servers

Strengths

  • Cross-platform support including iOS, Android, Web, macOS, Windows, and Linux
  • Comprehensive WebRTC feature set including Unified-Plan, Simulcast, and Data Channels
  • Actively maintained with regular updates to the underlying libwebrtc SDK

Weaknesses

  • Requires manual configuration of native permissions and build settings
  • Complex API surface inherent to the WebRTC specification

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
6

Requires adding camera and microphone permissions in iOS Info.plist and Android Manifest, setting up Java 8 / minimum SDK version for Android, and configuring CocoaPods or Swift Package Manager.

import 'package:flutter_webrtc/flutter_webrtc.dart';

final _localRenderer = RTCVideoRenderer();
await _localRenderer.initialize();

final MediaStream stream = await navigator.mediaDevices.getUserMedia({
  'audio': true,
  'video': true
});
_localRenderer.srcObject = stream;

Alternatives

Packages that do the same job and could replace flutter_webrtc.

  • tencent_rtc_sdk

    A powerful real-time SDK for Video Calling and Live Video Streaming. Delivers ultra-low latency and crystal-clear audio/video via​ a simple API for quick integration.

  • stream_video_flutter

    Official UI package and SDK for Stream Video, supporting calls and livestreams.

  • stream_video

    Official low-level client for Stream Video, supporting calls, audio rooms, and live streaming.

  • hmssdk_flutter

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

Works with

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