Flutter plugin for NetEase RTC SDK, currently supports Android/iOS/macOS/Windows platforms.
NetEase Real-Time Communication (NERTC) is a Real-Time Communication development platform designed for efficient audio and video communication services. Based on Netease's years of technical accumulation of instant communication and Real-Time Communication capabilities, NERTC provides you with stable, smooth, high-quality, full-platform point-to-point and multi-person Real-Time Communication services.
For more product descriptions, please see homepage.
Run this command at your project root path:
$ flutter pub add nertc_core
For more information, please see Installing.
Now in your Dart code, you can use:
import 'package:nertc_core/nertc_core.dart';Import it into your project.
To ensure that your project can function properly with the SDK, you need to add the following configuration to your project.
Add two rows to the ios/Runner/Info.plist:
- one with the key
Privacy - Camera Usage Descriptionand a usage description. - and one with the key
Privacy - Microphone Usage Descriptionand a usage description.
Or in text format add the key:
<key>NSCameraUsageDescription</key>
<string>Can I use the camera please?</string>
<key>NSMicrophoneUsageDescription</key>
<string>Can I use the mic please?</string>Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.
minSdkVersion 21
Add two rows to the macOS/Runner/Info.plist:
- one with the key
Privacy - Camera Usage Descriptionand a usage description. - and one with the key
Privacy - Microphone Usage Descriptionand a usage description.
Or in text format add the key:
<key>NSCameraUsageDescription</key>
<string>Can I use the camera please?</string>
<key>NSMicrophoneUsageDescription</key>
<string>Can I use the mic please?</string>For more usage, please refer to the samplecode provided on github, click it.
- If you are having trouble, you can read the Documentation Center.
- If you need after-sales technical support, you can submit a ticket in the Netease cloud console.