패키지, 저장소 및 앱 카테고리 검색

GitHub 저장소flutter-webrtc/dart-sip-ua

dart-sip-ua

SIP UA 스택의 dart-lang 버전입니다.

dart-sip-ua 프로젝트 이미지
스타
372
포크
347
최근 푸시(UTC)
2026. 8. 31.
프로젝트 상태
활성

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

dart-sip-ua

Financial Contributors on Open Collective pub package slack

A dart-lang version of the SIP UA stack, ported from JsSIP.

Overview

  • Use pure dart-lang
  • SIP over WebSocket && TCP (use real SIP in your flutter mobile, desktop, web apps)
  • Audio/video calls (flutter-webrtc) and instant messaging
  • Support with standard SIP servers such as OpenSIPS, Kamailio, Asterisk, 3CX and FreeSWITCH.
  • Support RFC2833 or INFO to send DTMF.

Currently supported platforms

  • [X] iOS
  • [X] Android
  • [X] Web
  • [X] macOS
  • [X] Windows
  • [X] Linux
  • [ ] Fuchsia

Install

Android
  • Proguard rules:
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.**  { *; }
-keep class io.flutter.util.**  { *; }
-keep class io.flutter.view.**  { *; }
-keep class io.flutter.**  { *; }
-keep class io.flutter.plugins.**  { *; }

-keep class com.cloudwebrtc.webrtc.** {*;}
-keep class org.webrtc.** {*;}

Quickstart

Run example:

Register with SIP server:

  • Asterisk
  • FreeSWITCH
  • OpenSIPS
  • 3CX
  • Kamailio
  • or add your server example.

FAQ's OR ISSUES

expand

Server not configured for DTLS/SRTP

WEBRTC_SET_REMOTE_DESCRIPTION_ERROR: Failed to set remote offer sdp: Called with SDP without DTLS fingerprint.

Your server is not sending a DTLS fingerprint inside the SDP when inviting the sip_ua client to start a call.

WebRTC uses encryption by Default, all WebRTC communications (audio, video, and data) are encrypted using DTLS and SRTP, ensuring secure communication. Your PBX must be configured to use DTLS/SRTP when calling sip_ua.

Why isn't there a UDP connection option?

This package uses a WS or TCP connection for the signalling processs to initiate or terminate a session (sip messages). Once the session is connected WebRTC transmits the actual media (audio/video) over UDP.

If anyone actually still wants to use UDP for the signalling process, feel free to submit a PR with the large amount of work needed to set it up, packet order checking, error checking, reliability timeouts, flow control, security etc etc.

SIP/2.0 488 Not acceptable here

The codecs on your PBX server don't match the codecs used by WebRTC

  • opus (payload type 111, 48kHz, 2 channels)
  • red (payload type 63, 48kHz, 2 channels)
  • G722 (payload type 9, 8kHz, 1 channel)
  • ILBC (payload type 102, 8kHz, 1 channel)
  • PCMU (payload type 0, 8kHz, 1 channel)
  • PCMA (payload type 8, 8kHz, 1 channel)
  • CN (payload type 13, 8kHz, 1 channel)
  • telephone-event (payload type 110, 48kHz, 1 channel for wideband, 8000Hz, 1 channel for narrowband)

NOTE

Thanks to the original authors of JsSIP for providing the JS version, which makes it possible to port the dart-lang.

Sponsors

The first version was sponsored by Suretec Systems Ltd. T/A SureVoIP.

Contributing

The project is inseparable from the contributors of the community.

License

dart-sip-ua is released under the MIT license.

Flutter WebRTC GitHub avatar
GitHub 작성자

Flutter WebRTC ↗

About flutter's voip, webrtc related solutions.

언어DartC++CMakeShellRubySwiftPythonCHTMLDockerfileKotlinMakefileObjective-C

분류

사용 중인 의존성

의존성 목록 15 개

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗