agora_rtc_engine 5.3.1 agora_rtc_engine: ^5.3.1 copied to clipboard
Flutter plugin of Agora RTC SDK, allow you 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: ^5.3.1
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/media_recorder.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';