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.
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.
- videosdk
Integrate audio and video calling or live video streaming APIs into your app.
81Compare - video_player_android
Android implementation of the video_player plugin
88Compare - video_player_avfoundation
iOS and macOS implementation of the video_player plugin
86Compare - daily_flutter
Flutter plugin that adds Daily video and audio calling capabilities.
75Compare
Works with
Packages commonly used together with agora_rtc_engine: ones it builds on, ones built on it, and its own family.
- webagora_rtc_engine depends on itLightweight bindings for browser APIs via JS interop
- asyncagora_rtc_engine depends on itUtility classes and helpers that extend Dart's async library.
- ffiagora_rtc_engine depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- json_annotationagora_rtc_engine depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- agora_rtmSame familyFlutter wrapper around the Agora Real Time Message SDKs for Android and iOS.