webrtc_coordinator 0.1.0
webrtc_coordinator: ^0.1.0 copied to clipboard
A genuinely peer-to-peer transport for peer_coordinator: WebRTC data channels between peers, with the hub demoted to discovery and connection setup. Pure Dart — the plugin binding lives in webrtc_coor [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add webrtc_coordinatorWith Flutter:
$ flutter pub add webrtc_coordinatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
webrtc_coordinator: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:webrtc_coordinator/webrtc_coordinator.dart';