sip_ua
1.1.0, released 11 months ago by flutter-webrtc.org
SIP UA stack for Flutter and Dart, supporting audio/video calls and instant messaging.
What it does
A pure Dart implementation of a SIP UA stack ported from JsSIP. It enables SIP over WebSocket and TCP, allowing Flutter mobile, desktop, and web apps to handle audio/video calls and instant messaging using standard SIP servers like Asterisk, FreeSWITCH, and OpenSIPS.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to build a VoIP client or softphone in Flutter with audio and video call support.
- You are connecting to standard SIP servers like Asterisk, FreeSWITCH, or OpenSIPS.
- You need cross-platform SIP support including iOS, Android, Web, macOS, Windows, and Linux.
Skip it when
- Your SIP infrastructure strictly requires UDP for the signaling process.
- You only need basic push notifications for incoming VoIP calls without a full SIP stack.
Strengths
- Supports multiple platforms: iOS, Android, Web, macOS, Windows, and Linux.
- Integrates with standard SIP servers (OpenSIPS, Kamailio, Asterisk, 3CX, FreeSWITCH).
- Supports SIP over WebSocket and TCP as well as WebRTC-based audio/video streams.
Weaknesses
- Does not support UDP connection options for signaling out of the box.
- Requires proper PBX configuration for DTLS/SRTP and matching codecs to avoid WebRTC setup errors.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 12
Requires Proguard rules on Android and proper PBX server configuration for WebRTC (DTLS/SRTP and matching codecs like Opus or G.722).
// Register with SIP server example
SIPUAHelper _sipUaHelper = SIPUAHelper();
UaSettings settings = UaSettings();
settings.webSocketUrl = 'wss://sip.server.com';
settings.uri = 'sip:alice@sip.server.com';
settings.password = 'password';
_sipUaHelper.start(settings);Alternatives
Packages that do the same job and could replace sip_ua.
- webrtc_interface
Common WebRTC interfaces and type definitions for Flutter and Dart Web.
65Compare
Works with
Packages commonly used together with sip_ua: ones it builds on, ones built on it, and its own family.
- cryptosip_ua depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- uuidsip_ua depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- websip_ua depends on itLightweight bindings for browser APIs via JS interop
- intlsip_ua depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- loggersip_ua depends on itAn extensible logger for printing formatted logs with levels, custom filters, and printers.
- blocsip_ua depends on itA Dart library for implementing the BLoC pattern with Cubits and Blocs.
- flutter_webrtcsip_ua depends on itWebRTC plugin for real-time audio, video and data communication.
- sdp_transformsip_ua depends on itParse and write SDP strings in Dart.