dart_webrtc 1.4.10 dart_webrtc: ^1.4.10 copied to clipboard
Use the dart/js library to re-wrap the webrtc js interface of the browser, to adapted common browsers.
We analyzed this package 6 days ago, and awarded it 110 pub points (of a possible 160):
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
.
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.
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/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.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/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.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/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.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/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.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/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 24 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: The declaration 'brightness' isn't referenced.
lib/src/mediadevices_impl.dart:223:21
╷
223 │ external bool get brightness;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/mediadevices_impl.dart
10/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.5 | 2.1.5 |
synchronized |
^3.0.0+3 |
3.3.0+3 | 3.3.0+3 |
web |
^1.0.0 |
1.1.0 | 1.1.0 |
webrtc_interface |
^1.2.0 |
1.2.0 | 1.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
pub_semver |
- | 2.1.5 | 2.1.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.17
, Dart 3.6.0
.
Check the analysis log for details.