@agentdance/node-webrtc-sdp
v1.0.4
Published
WebRTC SDP parser and serializer — full parse/serialize round-trip, extmap, rtpmap/fmtp, ssrc/ssrc-group, BUNDLE, Chrome interop. Part of the @agentdance/node-webrtc stack.
Maintainers
Readme
@agentdance/node-webrtc-sdp
WebRTC SDP parser / serializer for Node.js — part of the @agentdance/node-webrtc pure-TypeScript WebRTC stack.
Features
- Full parse ↔ serialize round-trip (RFC 4566 / WebRTC)
- extmap, rtpmap/fmtp, ssrc/ssrc-group, BUNDLE, DTLS fingerprint
- Chrome SDP interop
- Zero native dependencies
Install
npm install @agentdance/node-webrtc-sdpUsage
import { parse, serialize, parseCandidate } from '@agentdance/node-webrtc-sdp';
const session = parse(sdpString);
const text = serialize(session);
const cand = parseCandidate('candidate:…');Full Documentation
See the main package README for the complete API reference, usage examples, and architecture overview.
License
MIT
