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
90/ 140
pub points
0%
popularity

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

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 476 API elements (25.0 %) have documentation comments.

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

10/10 points: Package has an example

OK
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
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 17 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/analyzerHEREER/pub-cache/hosted/20240502t112300-dot-dartlang-pub.appspot.com/web-0.5.1/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
20 / 20trigger 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.4 1.4.4
flutter flutter 0.0.0 0.0.0
path_provider ^2.0.2 2.1.3 2.1.3
webrtc_interface ^1.0.2 1.2.0 1.2.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
ffi - 2.1.2 2.1.2
js - 0.6.7 0.7.1
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
platform_detect - 2.0.11 2.0.11
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
synchronized - 3.1.0+1 3.1.0+1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

0
likes
90
pub points
0%
popularity

Publisher

unverified uploader

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