pure_dart_webrtc 1.0.4 copy "pure_dart_webrtc: ^1.0.4" to clipboard
pure_dart_webrtc: ^1.0.4 copied to clipboard

A pure Dart implementation of WebRTC, including support for ICE, STUN, TURN, DTLS, TLS, SRTP, RTP, RTCP, and SDP.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pure_dart_webrtc

With Flutter:

 $ flutter pub add pure_dart_webrtc

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pure_dart_webrtc: ^1.0.4

Alternatively, 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:pure_dart_webrtc/dart_webrtc.dart';
import 'package:pure_dart_webrtc/dartls.dart';
import 'package:pure_dart_webrtc/ecc.dart';
import 'package:pure_dart_webrtc/ecdsa.dart';
import 'package:pure_dart_webrtc/h264.dart';
import 'package:pure_dart_webrtc/signal/fingerprint.dart';
import 'package:pure_dart_webrtc/signal/sdp/sdp_codec.dart';
import 'package:pure_dart_webrtc/signal/sdp/sdp_offer_answer.dart';
import 'package:pure_dart_webrtc/signal/sdp/sdp_session.dart';
import 'package:pure_dart_webrtc/signal/sdp_v2.dart';
import 'package:pure_dart_webrtc/types/types.dart';
import 'package:pure_dart_webrtc/vpx.dart';
import 'package:pure_dart_webrtc/webrtc/media_stream.dart';
import 'package:pure_dart_webrtc/webrtc/parameter.dart';
import 'package:pure_dart_webrtc/webrtc/peer_connection.dart';
import 'package:pure_dart_webrtc/webrtc/rtc_data_channel.dart';
import 'package:pure_dart_webrtc/webrtc/rtc_ice_candidate.dart';
import 'package:pure_dart_webrtc/webrtc/rtc_rtp_transceiver.dart';
import 'package:pure_dart_webrtc/webrtc/rtc_session_description.dart';
import 'package:pure_dart_webrtc/webrtc/rtc_stats.dart';
import 'package:pure_dart_webrtc/webrtc/rtc_udp_transport.dart';
import 'package:pure_dart_webrtc/webrtc/webrtc.dart';
2
likes
130
points
15
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A pure Dart implementation of WebRTC, including support for ICE, STUN, TURN, DTLS, TLS, SRTP, RTP, RTCP, and SDP.

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

archive, args, asn1lib, basic_utils, bits, collection, convert, crypto, cryptography, dotenv, dtls2, ecdsa, elliptic, events_emitter, ffi, ffigen, fixnum, hex, image, intl, pointycastle, sdp_transform, shelf, shelf_web_socket, uuid, web_socket_channel, x25519, x509b

More

Packages that depend on pure_dart_webrtc