nertc_core 5.9.11+2 copy "nertc_core: ^5.9.11+2" to clipboard
nertc_core: ^5.9.11+2 copied to clipboard

A Flutter plugin for NetEase RTC SDK, It can help you integrate SDK quickly and realize basic functions of Real-Time Communication.

nertc_core #

build Status pub package

Flutter plugin for NetEase RTC SDK, currently supports Android/iOS/macOS/Windows platforms.

Introduce #

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.

Installation #

Run this command at your project root path:

 $ flutter pub add nertc_core

For more information, please see Installing.

Usage #

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.

iOS #

Add two rows to the ios/Runner/Info.plist:

  • one with the key Privacy - Camera Usage Description and a usage description.
  • and one with the key Privacy - Microphone Usage Description and 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>

Android #

Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle file.

minSdkVersion 21

macOS #

Add two rows to the macOS/Runner/Info.plist:

  • one with the key Privacy - Camera Usage Description and a usage description.
  • and one with the key Privacy - Microphone Usage Description and 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.

Contact us #

2
likes
150
points
169
downloads

Publisher

verified publisheryunxin.163.com

Weekly Downloads

A Flutter plugin for NetEase RTC SDK, It can help you integrate SDK quickly and realize basic functions of Real-Time Communication.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto, ffi, flutter, nertc_core_platform_interface, path_provider, yunxin_alog

More

Packages that depend on nertc_core

Packages that implement nertc_core