// the find
flutter-webrtc/flutter-webrtc-demo
Demo for flutter-webrtc
A demo app for the flutter-webrtc plugin, showing P2P video/audio calls and data channels across iOS, Android, macOS, Windows, and Web. It exists primarily to prove the plugin works and show you how to wire up signaling — not to be a production starting point. Flutter developers evaluating WebRTC on mobile or desktop will find it useful as a reference.
The signaling code in lib/src/call_sample/signaling.dart is worth reading — it shows a clean WebSocket-based signaling flow with offer/answer/ICE candidate exchange that maps directly to the WebRTC spec. Platform coverage is genuinely wide: the same Dart code runs on six targets (iOS, Android, macOS, Windows, Web, and presumably Linux), which is the actual selling point of flutter-webrtc. There's a screen sharing dialog included, which most demos skip. Renovate is configured, so at least dependency updates aren't completely manual.
This is a companion demo, not a standalone project — it's essentially useless without also running the separate webrtc-flutter-server signaling server, and that dependency isn't explained beyond one sentence. The README is nearly empty: no setup troubleshooting, no TURN server guidance, nothing about what to do when you hit the inevitable iOS permissions or Android manifest issues that trip everyone up. Last meaningful activity was early 2025 and the flutter SDK constraints in pubspec are likely stale against current Flutter stable. The single widget_test.dart is a generated placeholder — there are no actual tests.