Skip to content
pubscout

webrtc_interface

1.5.1, released 8 months ago by flutter-webrtc.org

Common WebRTC interfaces and type definitions for Flutter and Dart Web.

WASM-ready
$ flutter pub add webrtc_interface

What it does

Defines shared interfaces, types, and abstract classes for WebRTC implementations across Dart and Flutter platforms. It standardizes APIs like RTCPeerConnection, RTCDataChannel, and MediaStream for platform-specific implementations. It serves primarily as a foundation contract for packages like flutter_webrtc rather than an end-user client library.

AI-written summary of version 1.5.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Building or extending a WebRTC platform implementation or plugin for Flutter/Dart
  • Writing cross-platform abstractions that depend strictly on WebRTC interfaces without concrete bindings

Skip it when

  • Building standard WebRTC features directly in an application, where full implementations like flutter_webrtc or dart_webrtc are needed

Strengths

  • Zero dependencies, lightweight pure Dart interface package
  • Covers comprehensive WebRTC APIs including frame encryption, media recording, and priority controls

Weaknesses

  • Contains only interfaces and stubs without actual runtime WebRTC implementations
  • Minimal documentation and no usage examples in the README

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0

Alternatives

Packages that do the same job and could replace webrtc_interface.

  • livekit_client

    Flutter Client SDK for LiveKit to build real-time video, audio, and data features.

  • tencent_rtc_sdk

    A powerful real-time SDK for Video Calling and Live Video Streaming. Delivers ultra-low latency and crystal-clear audio/video via​ a simple API for quick integration.

  • stream_video_flutter

    Official UI package and SDK for Stream Video, supporting calls and livestreams.

  • telnyx_webrtc

    Enable real-time WebRTC voice communication and calls with Telnyx.

Works with

Packages commonly used together with webrtc_interface: ones it builds on, ones built on it, and its own family.