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

Platformweb

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

9
likes
100/ 160
pub points
89%
popularity

We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):

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

118 out of 465 API elements (25.4 %) have documentation comments.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
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:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webidl.dart that imports:
  • dart:js_interop
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:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webidl.dart that imports:
  • dart:js_interop
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:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webidl.dart that imports:
  • dart:js_interop
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:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webidl.dart that imports:
  • dart:js_interop
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:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webidl.dart that imports:
  • dart:js_interop

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_webrtc/dart_webrtc.dart that imports:
  • package:dart_webrtc/src/media_stream_impl.dart that imports:
  • package:dart_webrtc/src/media_stream_track_impl.dart that imports:
  • package:dart_webrtc/src/utils.dart that imports:
  • dart:js_util

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: Unused import: 'utils.dart'.

lib/src/factory_impl.dart:15:8

   ╷
15 │ import 'utils.dart';
   │        ^^^^^^^^^^^^
   ╵

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

WARNING: Unused import: 'dart:js_util'.

lib/src/utils.dart:1:8

  ╷
1 │ import 'dart:js_util' as jsutil;
  │        ^^^^^^^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
10 / 40trigger 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.19.1 1.19.1
js >0.6.0 <0.8.0 0.7.1 0.7.1
logging ^1.1.0 1.3.0 1.3.0
meta ^1.8.0 1.16.0 1.16.0
platform_detect ^2.0.7 2.1.0 2.1.0
synchronized ^3.0.0+3 3.3.0+3 3.3.0+3
web ^0.5.1 0.5.1 1.1.0
webrtc_interface ^1.2.0 1.2.0 1.2.0
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.5.1` on web does not support the stable version `1.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_ANNOTATION - lib/src/rtc_transform_stream.dart:105:1 - Undefined name 'staticInterop' used as an annotation.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

9
likes
100
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, web, webrtc_interface

More

Packages that depend on dart_webrtc