flutter_zwap_webrtc 0.8.4 copy "flutter_zwap_webrtc: ^0.8.4" to clipboard
flutter_zwap_webrtc: ^0.8.4 copied to clipboard

Flutter WebRTC plugin for iOS/Android/Destkop/Web, based on GoogleWebRTC.

0
likes
110/ 160
pub points
64
downloads

We analyzed this package 40 hours ago, and awarded it 110 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

119 out of 465 API elements (25.6 %) have documentation comments.

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

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:flutter_zwap_webrtc/flutter_webrtc.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

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

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

Package not compatible with platform Android

Because:

  • package:flutter_zwap_webrtc/flutter_webrtc.dart that imports:
  • package:flutter_zwap_webrtc/src/native/rtc_video_view_impl.dart that imports:
  • package:flutter_zwap_webrtc/src/native/rtc_video_renderer_impl.dart that imports:
  • package:flutter_zwap_webrtc/src/helper.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:flutter_zwap_webrtc/flutter_webrtc.dart that imports:
  • package:flutter_zwap_webrtc/src/native/rtc_video_view_impl.dart that imports:
  • package:flutter_zwap_webrtc/src/native/rtc_video_renderer_impl.dart that imports:
  • package:flutter_zwap_webrtc/src/helper.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:flutter_zwap_webrtc/flutter_webrtc.dart that imports:
  • package:flutter_zwap_webrtc/src/native/rtc_video_view_impl.dart that imports:
  • package:flutter_zwap_webrtc/src/native/rtc_video_renderer_impl.dart that imports:
  • package:flutter_zwap_webrtc/src/helper.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:flutter_zwap_webrtc/flutter_webrtc.dart that imports:
  • package:flutter_zwap_webrtc/src/native/rtc_video_view_impl.dart that imports:
  • package:flutter_zwap_webrtc/src/native/rtc_video_renderer_impl.dart that imports:
  • package:flutter_zwap_webrtc/src/helper.dart that imports:
  • dart:html

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 16 issues. Showing the first 2:

ERROR: The argument type 'MediaStreamTrack (where MediaStreamTrack is defined in /home/worker/flutter/stable/bin/cache/pkg/sky_engine/lib/html/html_dart2js.dart)' can't be assigned to the parameter type 'MediaStreamTrack (where MediaStreamTrack is defined in /tmp/analyzerJKQAHM/pub-cache/hosted/20241217t132200-dot-dartlang-pub.appspot.com/web-1.1.0/lib/src/dom/mediacapture_streams.dart)'.

lib/src/helper.dart:106:32

    ╷
106 │     return MediaStreamTrackWeb(track as html.MediaStreamTrack);
    │                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: 'MediaRecorder.startWeb' ('void Function(MediaStream, {String? mimeType, dynamic Function(dynamic, bool)? onDataChunk})') isn't a valid override of 'MediaRecorder.startWeb' ('void Function(MediaStream, {String mimeType, dynamic Function(dynamic, bool)? onDataChunk, int timeSlice})').

lib/src/media_recorder.dart:19:8

   ╷
19 │   void startWeb(
   │        ^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
dart_webrtc ^1.0.4 1.4.10 1.4.10
flutter flutter 0.0.0 0.0.0
path_provider ^2.0.2 2.1.5 2.1.5
webrtc_interface ^1.0.2 1.2.0 1.2.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
ffi - 2.1.3 2.1.3
js - 0.7.1 0.7.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
platform_detect - 2.1.0 2.1.5
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.5 2.1.5
sky_engine - 0.0.0 0.0.0
synchronized - 3.3.0+3 3.3.0+3
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

0
likes
110
points
64
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter WebRTC plugin for iOS/Android/Destkop/Web, based on GoogleWebRTC.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

dart_webrtc, flutter, path_provider, webrtc_interface

More

Packages that depend on flutter_zwap_webrtc