agora_rtc_ng 6.0.0-beta.2 copy "agora_rtc_ng: ^6.0.0-beta.2" to clipboard
agora_rtc_ng: ^6.0.0-beta.2 copied to clipboard

discontinuedreplaced by: agora_rtc_engine

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.

130/ 160
pub points
31
downloads

We analyzed this package 11 hours ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

1112 out of 1137 API elements (97.8 %) have documentation comments.

Some symbols that are missing documentation: agora_rtc_ng, agora_rtc_ng.AudioDeviceManager.AudioDeviceManager.new, agora_rtc_ng.ChannelMediaOptions.clientRoleType, agora_rtc_ng.MediaPlayer.MediaPlayer.new, agora_rtc_ng.MediaPlayerController.MediaPlayerController.new.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:agora_rtc_ng/agora_rtc_ng.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:agora_rtc_ng/agora_rtc_ng.dart that imports:
  • package:agora_rtc_ng/src/agora_rtc_engine_ext.dart that imports:
  • package:agora_rtc_ng/src/impl/agora_rtc_engine_impl.dart that imports:
  • package:agora_rtc_ng/src/impl/api_caller.dart that imports:
  • package:iris_event/iris_event.dart that declares support for platforms: Android, iOS, Windows, macOS.

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:agora_rtc_ng/agora_rtc_ng.dart that imports:
  • package:agora_rtc_ng/src/agora_rtc_engine_ext.dart that imports:
  • package:agora_rtc_ng/src/impl/agora_rtc_engine_impl.dart that imports:
  • package:agora_rtc_ng/src/impl/api_caller.dart that imports:
  • package:iris_event/iris_event.dart that imports:
  • package:iris_event/src/native_iris_event_bindings.dart that imports:
  • dart:ffi

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Swift Package Manager support:

Package does not support the Swift Package Manager on macOS

It does not contain macos/agora_rtc_ng/Package.swift.

Package does not support the Swift Package Manager on iOS

It does not contain ios/agora_rtc_ng/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

INFO: 'dart:html' is deprecated and shouldn't be used. Use package:web and dart:js_interop instead.

lib/agora_rtc_ng_web.dart:6:1

  ╷
6 │ import 'dart:html' as html show window;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/agora_rtc_ng_web.dart

INFO: Angle brackets will be interpreted as HTML.

lib/src/agora_base.dart:2138:183

     ╷
2138 │   /// The round-trip time delay (ms) from the client to the local router.On Android, to get gatewayRtt, ensure that you add the android.permission.ACCESS_WIFI_STATE permission after </application> in the AndroidManifest.xml file in your project.
     │                                                                                                                                                                                       ^^^^^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/agora_base.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
async ^2.8.2 2.13.0 2.13.0
ffi >=1.1.2 2.2.0 2.2.0
iris_event ^1.1.0 1.2.0 2.0.0
json_annotation ^4.4.0 4.11.0 4.11.0
meta ^1.7.0 1.17.0 1.18.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.1.0` on iris_event does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions iris_event to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
130
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, ffi, flutter, flutter_web_plugins, iris_event, json_annotation, meta

More

Packages that depend on agora_rtc_ng

Packages that implement agora_rtc_ng