agora_rtc_engine 4.2.0-rc.0 agora_rtc_engine: ^4.2.0-rc.0 copied to clipboard
Flutter plugin to simply integrate Agora Video Calling or Live Video Streaming to your app with just a few lines of code.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add agora_rtc_engine
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
agora_rtc_engine: ^4.2.0-rc.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:agora_rtc_engine/agora_rtc_engine_web.dart';
import 'package:agora_rtc_engine/rtc_channel.dart';
import 'package:agora_rtc_engine/rtc_engine.dart';
import 'package:agora_rtc_engine/rtc_local_view.dart';
import 'package:agora_rtc_engine/rtc_remote_view.dart';