Quickstart for group or 1-1 video call with stats in Flutter using Agora SDK. Use this guide for further development.
- '>= Flutter 2.2.0'
- Agora Developer Account
Add the runtime dependency agora_rtc_engine
as well as the generator permission_handler
to your pubspec.yaml
.
Check for the latest version.
dependencies:
flutter:
sdk: flutter
agora_rtc_engine: ^4.0.2
permission_handler: ^8.1.2
To build and run the sample application, first obtain an app ID:
- Create a developer account at agora.io. Once you finish the sign-up process, you are redirected to the dashboard.
- Navigate in the dashboard tree on the left to Projects > Project List.
- Copy the app ID that you obtain from the dashboard into a text file. You will use this when you launch the app.
- Open the HomeScreen.dart file and replace the app ID and token.
const appId = "";
const token = "";
- Install all the dependencies
flutter pub get
- Once the build is complete, use the below given command to run the app.
flutter run
- You can find the complete API Documentation over here.