Skip to content

v1.0.3

Choose a tag to compare

@github-actions github-actions released this 28 Mar 07:21
· 21 commits to master since this release

📦 Packages

Package Version
@agentdance/node-webrtc v1.0.3
@agentdance/node-webrtc-ice v1.0.3
@agentdance/node-webrtc-dtls v1.0.3
@agentdance/node-webrtc-sctp v1.0.3
@agentdance/node-webrtc-srtp v1.0.3
@agentdance/node-webrtc-rtp v1.0.3
@agentdance/node-webrtc-stun v1.0.3
@agentdance/node-webrtc-sdp v1.0.3

🚀 Install

npm install @agentdance/node-webrtc

📋 What's Included

Production-grade WebRTC implementation in pure TypeScript — zero native bindings.

Every protocol layer implemented from first principles against the relevant RFCs:

Layer RFC Key capabilities
ICE RFC 8445 Host/srflx/prflx candidates, connectivity checks, aggressive & regular nomination, 15s keepalive
DTLS 1.2 RFC 6347 Full client+server handshake, ECDHE P-256, AES-128-GCM, self-signed cert (pure ASN.1/DER)
SCTP RFC 4960/8832 Fragmentation/reassembly, congestion control (cwnd/ssthresh), fast retransmit, DCEP, TSN wrap
SRTP RFC 3711 AES-128-CM-HMAC-SHA1-80/32 and AES-128-GCM, RFC-verified key derivation, 64-bit replay window
RTP/RTCP RFC 3550 Full header codec, SR/RR/SDES/BYE/NACK/PLI/FIR/REMB
STUN RFC 5389 Full codec, HMAC-SHA1 integrity, CRC-32 fingerprint, ICE attributes
SDP RFC 4566 Full parse ↔ serialize, Chrome interop, BUNDLE, extmap, ssrc-group

Test coverage: ~4 900 lines of Vitest unit tests · 29/29 Cucumber BDD scenarios passing

📖 Documentation

→ Full README