dart_webrtc 1.2.1 copy "dart_webrtc: ^1.2.1" to clipboard
dart_webrtc: ^1.2.1 copied to clipboard

Platformweb

Use the dart/js library to re-wrap the webrtc js interface of the browser, to adapted common browsers.

8
likes
110/ 140
pub points
89%
popularity

We analyzed this package 16 hours ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

117 out of 474 API elements (24.7 %) have documentation comments.

Some symbols that are missing documentation: dart_webrtc, dart_webrtc.FrameCryptor.onFrameCryptorStateChanged, dart_webrtc.FrameCryptor.updateCodec, dart_webrtc.FrameCryptorState, dart_webrtc.FrameCryptorState.FrameCryptorState.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:dart_webrtc/dart_webrtc.dart that imports:
  • package:dart_webrtc/src/rtc_video_element.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:dart_webrtc/dart_webrtc.dart that imports:
  • package:dart_webrtc/src/rtc_video_element.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:dart_webrtc/dart_webrtc.dart that imports:
  • package:dart_webrtc/src/rtc_video_element.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:dart_webrtc/dart_webrtc.dart that imports:
  • package:dart_webrtc/src/rtc_video_element.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:dart_webrtc/dart_webrtc.dart that imports:
  • package:dart_webrtc/src/rtc_video_element.dart that imports:
  • dart:html
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: An uninitialized variable should have an explicit type annotation.

lib/src/rtc_peerconnection_impl.dart:329:9

    ╷
329 │     var stats;
    │         ^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.17.1 1.18.0 1.18.0
js ^0.6.4 0.6.7 0.7.1
logging ^1.1.0 1.2.0 1.2.0
meta ^1.8.0 1.12.0 1.12.0
platform_detect ^2.0.7 2.0.11 2.0.11
synchronized ^3.0.0+3 3.1.0+1 3.1.0+1
webrtc_interface ^1.1.2 1.1.2 1.1.2
Transitive dependencies
Package Constraint Compatible Latest
pub_semver - 2.1.4 2.1.4

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

The constraint `^0.6.4` on js does not support the stable version `0.7.0`.

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

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

Analyzed with Pana 0.22.2, Dart 3.3.0.

Check the analysis log for details.

8
likes
110
pub points
89%
popularity

Publisher

verified publisherflutter-webrtc.org

Use the dart/js library to re-wrap the webrtc js interface of the browser, to adapted common browsers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, js, logging, meta, platform_detect, synchronized, webrtc_interface

More

Packages that depend on dart_webrtc