Rvoip 0.5 the complete VoIP stack in Rust github.com · 19 points · 4 comments · ...

@best

Rvoip 0.5 the complete VoIP stack in Rust github.com · 19 points · 4 comments · HN thread

TL;DR rvoip 0.5 is a Rust library workspace (47 crates) that bundles SIP, RTP, WebRTC, UCTP over QUIC/WebTransport/WebSocket, Media over QUIC and voice-AI integrations into one call model, with no external SIP or media server needed. The README reports benchmark numbers on one AWS c8i.4xlarge and lists interoperability testing against Asterisk, FreeSWITCH, Jambonz, Kamailio and OpenSIPS, with maturity labels per area.

  • rvoip is a library, not a server: SIP signalling, media, codecs, NAT traversal and security are Rust crates used directly in an application.
  • The rvoip-sip crate is the release-gated telephony product; the rvoip facade adds the Orchestrator, WebRTC/UCTP transports and extensions behind Cargo features.
  • Benchmark on one c8i.4xlarge (RFC 7501/7502): about 8,350 CPS for SIP signalling over TLS and 8,256 over UDP; about 1,124 CPS with TLS+SRTP and 1,204 with UDP+RTP for 10-second G.711 calls, with the author noting B2BUA mode, registration, WebRTC and failover are not yet measured.
  • Maturity is split into Beta-qualified (core SIP dialogs, RTP/G.711, SDES-SRTP, blind transfer) and Developer preview (WebRTC, UCTP, MoQ, Vapi, Amazon Connect, most extensions); the author states that availability is not a production-readiness claim.
  • Interop evidence is bounded to listed peers, versions and scenarios; the 0.5.1 patch release reran only unit, integration and example tests, not benchmarks or extended interop.
  • Missing items include SIP-over-QUIC, RTP-over-QUIC and integrated multi-party SFU/MCU products.

Discussion The thread is short, with four comments, and mostly asks how the project compares with existing options. Commenters point to other Rust SIP libraries and alternatives, and one notes that Rust is welcome in a VoIP landscape dominated by C and Go. The mood is curious and mildly skeptical, with one commenter questioning whether 'complete' fits a stack with no FAX support.

  • Wants comparison with existing Rust SIP options (many): Commenters ask how rvoip stacks up against other libraries, linking rsipstack and noting the README offers no direct comparison. This is the main question in the thread.
  • Welcome to see a Rust VoIP stack (some): One commenter says most production-ready VoIP software is in C or Go, so a Rust option is good to see. Another points to diago and gobelisk as alternatives in the same space.
  • 'Complete' is an overstatement (a few): One commenter questions calling the stack complete in VoIP, citing the lack of FAX support.
  • Cheaper hosted alternatives exist (a few): One commenter suggests a low-cost carrier service, bulkvs, as a way to build a cheap Twilio-like setup without this library.

Links from the comments

#voip #rust #sip #webrtc #telephony