Search packages, repositories and app categories

Package detailsv1.8.2

dart_webrtc

Use the dart/js library to re-wrap the webrtc js interface of the browser, to adapted common browsers.

Web
30-day downloads
637K
Likes
17
Pub points
140

Install package

flutter pub add dart_webrtc

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

dart_webrtc is a Flutter package that wraps the browser's native WebRTC JavaScript API, enabling real-time communication features like video calling and live streaming on web platforms. It allows Dart code to interact directly with WebRTC through JavaScript interop, making it easier to build real-time applications in Flutter for the web. The package abstracts complex browser-specific implementations, providing a consistent interface across modern browsers. It is ideal for developers aiming to integrate peer-to-peer audio, video, and data channels into web-based Flutter apps.

Use cases

  • Web-based video conferencing
  • Real-time screen sharing
  • Live interactive streaming
  • Peer-to-peer chat applications
  • WebRTC-based gaming
  • Remote collaboration tools

Key features

  • Browser WebRTC JS integration
  • Cross-browser compatibility
  • Dart-to-JS interoperability
  • Supports audio/video/data channels
  • Lightweight and focused on web
  • Easy Flutter web integration

Suitable for

  • Flutter developers targeting web platforms
  • Real-time communication app builders
  • Web-based video call solutions
  • Projects requiring low-latency media streaming
  • Developers familiar with WebRTC concepts

Considerations

  • Limited to web platform only
  • Requires understanding of WebRTC fundamentals
  • Depends on browser support for WebRTC
  • No native mobile support
  • May require additional JavaScript knowledge for advanced use

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

dart-webrtc

A webrtc interface wrapped in dart language.

Use the dart/js library to re-wrap the webrtc js interface of the browser, to adapted common browsers.

This library will be used for flutter-webrtc for flutter web plugin.

compile E2EE worker

dart compile js ./lib/src/e2ee.worker/e2ee.worker.dart -o web/e2ee.worker.dart.js

How to develop

  • git clone https://github.com/flutter-webrtc/dart-webrtc && cd dart-webrtc
  • dart pub get
  • dart pub global activate webdev
  • webdev serve --auto=refresh

Categories

Dependencies

Dependency list 6 items

Source repository

Projects using this package