Skip to content
pubscout

agora_rtc_engine

6.6.4, released 3 months ago by agora.io

Flutter plugin that wraps the Agora RTC SDK for real‑time audio/video calls and live streaming.

WASM-readyRock solid
$ flutter pub add agora_rtc_engine
Source repository

What it does

It exposes Agora's native RTC APIs to Flutter, letting you start and manage voice/video sessions on Android, iOS, macOS, Windows, and (alpha) web. The package handles platform channel communication and provides Dart wrappers for the native SDK features.

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

Use it when

  • You need low‑latency, high‑quality real‑time voice or video communication across multiple platforms.
  • You want to leverage Agora's cloud services and advanced RTC features (e.g., custom audio/video processing).

Skip it when

  • You require a pure‑Dart solution without native SDK dependencies.
  • You only target web and need full feature parity (the web support is still alpha).

Strengths

  • Official Agora support and frequent updates.
  • Cross‑platform coverage including desktop and mobile.
  • Access to the full native SDK feature set via Flutter.

Weaknesses

  • Requires native SDK setup and platform‑specific permissions.
  • Web implementation is alpha and limited.
  • Binary size increase due to native libraries.

Setup

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

Add Android permissions (camera, microphone, etc.) in AndroidManifest.xml, iOS/macOS privacy keys in Info.plist, and include the iris‑web‑rtc JS script in web/index.html. Follow Agora's native SDK integration docs for each platform.

import 'package:agora_rtc_engine/agora_rtc_engine.dart';

Future<void> main() async {
  final engine = await RtcEngine.createWithContext(RtcEngineContext('YOUR_APP_ID'));
  await engine.enableVideo();
  await engine.joinChannel(null, 'testChannel', null, 0);
}

Alternatives

Packages that do the same job and could replace agora_rtc_engine.

Works with

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