sftp_video_player 0.0.1
sftp_video_player: ^0.0.1 copied to clipboard
Simple video player built on top of the official Flutter package 'video_player' that implements some capabilities to play a video from a raw byte stream using an HTTP server.
We analyzed this package 22 hours ago, and awarded it 140 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
163 out of 186 API elements (87.6 %) have documentation comments.
Some symbols that are missing documentation: sftp_video_player, sftp_video_player.ClosedCaptionFile.ClosedCaptionFile.new, sftp_video_player.CustomStreamVideoFormat, sftp_video_player.CustomStreamVideoFormat.CustomStreamVideoFormat.new, sftp_video_player.CustomStreamVideoFormat.fileExtension.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:sftp_video_player/sftp_video_player.dartthat imports:package:video_player/video_player.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:sftp_video_player/sftp_video_player.dartthat imports:package:video_player/video_player.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package not compatible with platform Web
Because:
package:sftp_video_player/sftp_video_player.dartthat imports:package:video_player/video_player.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'VideoPlayerController.network' is deprecated and shouldn't be used. Use VideoPlayerController.networkUrl instead.
lib/sftp_video_player.dart:24:9
╷
24 │ super.network(serverConfig.url());
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/sftp_video_player.dart
INFO: Missing type annotation.
lib/src/data/models/stream_video_format.dart:17:10
╷
17 │ static custom(String fileExtension, String mimeType) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/models/stream_video_format.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dartssh2 |
^2.7.3 |
2.22.5 | 4.1.0 | |
shelf |
^1.4.0 |
1.4.2 | 1.4.2 | |
video_player |
^2.4.7 |
2.14.1 | 2.14.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
csslib |
- | 1.0.2 | 1.0.2 | |
html |
- | 0.15.7 | 0.15.7 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pinenacl |
- | 0.6.0 | 0.6.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
video_player_android |
- | 2.12.2 | 2.12.2 | |
video_player_avfoundation |
- | 2.12.1 | 2.12.1 | |
video_player_platform_interface |
- | 6.9.0 | 6.9.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.7.3` on dartssh2 does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions dartssh2 to update the constraint.
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.23.19, Flutter 3.47.6, Dart 3.13.5.
Check the analysis log for details.