webrtc-spec
Context: $ARGUMENTS
Search and fetch W3C + IETF WebRTC specifications. A companion to webrtc-pion, webrtc-mediasoup, webrtc-livekit — this skill is your source-of-truth for what the wire protocol and browser API actually require.
Quick start
- Find an SDP attribute / RFC number: → Step 2 (
search --query <term>) - Read a full section: → Step 3 (
section --page <page> --id <anchor>) - Dump a whole doc: → Step 4 (
fetch --page <page>) - Print the RFC table: → Step 5 (
list-rfcs) - Prime the cache offline: → Step 6 (
index)
When to use
- Before telling the user what an SDP attribute means, verify it against RFC 8866 (NOT RFC 4566, which is obsoleted).
- Before mentioning a WebRTC JS API method, verify it against the current W3C WebRTC 1.0 (REC).
- Need to cite the canonical URL for an RFC / TR (
https://datatracker.ietf.org/doc/html/rfcNorhttps://www.w3.org/TR/<name>/). - Choosing between two RFCs (e.g. SDP: 4566 vs 8866 — 8866 wins; JSEP: 8829 vs 9429 — 9429 is the newest update).
Step 1 — Page catalog
uv run ${CLAUDE_SKILL_DIR}/scripts/webrtcdocs.py list-pages
Top picks:
| Question | Page |
|------------------------------------------------|------------------------------------|
| "What's the signature of addTransceiver?" | w3c-webrtc |
| "What does a=msid mean?" | rfc-8866 |
| "How does ICE gather candidates?" | rfc-8445 |
| "What's in JSEP?" | rfc-9429 (obsoletes 8829) |
| "How is DTLS-SRTP negotiated?" | rfc-5764 |
| "What's the WHIP protocol?" | rfc-9725 |
| "How does simulcast work in SDP?" | rfc-8853 |
| "What's a rid?" | rfc-8851 |
| "getUserMedia constraints?" | w3c-mediacapture-streams |
| "Screen-capture permission model?" | w3c-screen-capture |
| "WebCodecs frame formats?" | w3c-webcodecs |