webrtc_dart 0.25.0 copy "webrtc_dart: ^0.25.0" to clipboard
webrtc_dart: ^0.25.0 copied to clipboard

Pure Dart WebRTC implementation. DataChannels, media streaming, ICE/DTLS/SCTP/RTP. Port of werift-webrtc. No native dependencies - works on any Dart platform.

145/ 160
pub points
774
downloads

We analyzed this package 25 hours ago, and awarded it 145 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Links in `README.md` should be secure. 1 link is insecure.

README.md:102:94

    ╷
102 │ <p>To see additional examples comparing how to implement in either werift or webrtc_dart see <a href="http://blog.hornmicro.com/webrtc_examples/">WebRTC Examples</a></p>
    │                                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

Use https URLs instead.

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

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

1528 out of 1889 API elements (80.9 %) have documentation comments.

Some symbols that are missing documentation: nonstandard.MediaStreamTrack.MediaStreamTrack.new, nonstandard.RtpCodecParameters.RtpCodecParameters.new, nonstandard.RtpHeaderInfo.RtpHeaderInfo.fromPacket, nonstandard.RtpHeaderInfo.RtpHeaderInfo.new, nonstandard.RtpHeaderInfo.marker.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:webrtc_dart/webrtc_dart.dart that imports:
  • package:webrtc_dart/src/stun/attributes.dart that imports:
  • dart:io
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 45 issues. Showing the first 2:

INFO: The type name 'EVP_CIPHER_CTX' isn't an UpperCamelCase identifier.

lib/src/crypto/aes_gcm_ffi.dart:10:9

   ╷
10 │ typedef EVP_CIPHER_CTX = Void;
   │         ^^^^^^^^^^^^^^
   ╵

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

INFO: The type name 'EVP_CIPHER' isn't an UpperCamelCase identifier.

lib/src/crypto/aes_gcm_ffi.dart:11:9

   ╷
11 │ typedef EVP_CIPHER = Void;
   │         ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/crypto/aes_gcm_ffi.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
crypto ^3.0.6 3.0.7 3.0.7
cryptography ^2.8.0 2.9.0 2.9.0
ffi ^2.1.4 2.1.4 2.1.4
logging ^1.2.0 1.3.0 1.3.0
pointycastle ^4.0.0 4.0.0 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
meta - 1.17.0 1.17.0
typed_data - 1.4.0 1.4.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.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
145
points
774
downloads

Publisher

verified publisherhornmicro.com

Weekly Downloads

Pure Dart WebRTC implementation. DataChannels, media streaming, ICE/DTLS/SCTP/RTP. Port of werift-webrtc. No native dependencies - works on any Dart platform.

Repository (GitHub)
View/report issues

Topics

#webrtc #peer-to-peer #datachannel #real-time #networking

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

crypto, cryptography, ffi, logging, pointycastle

More

Packages that depend on webrtc_dart