cdnbye 1.3.0 copy "cdnbye: ^1.3.0" to clipboard
cdnbye: ^1.3.0 copied to clipboard

discontinuedreplaced by: flutter_p2p_engine
PlatformAndroidiOS

CDNBye flutter P2P Engine scales live/vod video streaming by peer-to-peer network using bittorrent-like protocol. Powered by WebRTC Datachannel, this SDK can interconnect with the Web side plug-in of [...]

20
likes
135/ 160
pub points
71
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: cdnbye,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: cdnbye.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

37 out of 47 API elements (78.7 %) have documentation comments.

Some symbols that are missing documentation: cdnbye, cdnbye.CdnByeInfoListener, cdnbye.Cdnbye, cdnbye.Cdnbye.Cdnbye.new, cdnbye.Cdnbye.defaultSegmentIdGenerator.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:cdnbye/cdnbye.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:cdnbye/cdnbye.dart that declares support for platforms: Android, iOS.

Passed check 0/0 points: WASM compatibility

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

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

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/cdnbye/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 19 issues. Showing the first 2:

INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.

lib/cdnbye.dart:234:18

    ╷
234 │     this.logLevel: P2pLogLevel.warn,
    │                  ^
    ╵

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

INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.

lib/cdnbye.dart:235:22

    ╷
235 │     this.webRTCConfig: const {}, // TODO: 默认值缺少
    │                      ^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
safemap ^2.1.0 2.1.0 2.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
vector_math - 2.1.4 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
20
likes
135
points
71
downloads

Publisher

verified publishercdnbye.com

Weekly Downloads

CDNBye flutter P2P Engine scales live/vod video streaming by peer-to-peer network using bittorrent-like protocol. Powered by WebRTC Datachannel, this SDK can interconnect with the Web side plug-in of CDNBye, which breaks the gap between the browser and mobile application. As expected, it supports any flutter player!

Documentation

API reference

License

MIT (license)

Dependencies

flutter, safemap

More

Packages that depend on cdnbye