# Officeloft SDP & ICE Inspector > Read a WebRTC offer, answer or ICE candidates: media, codecs, encryption and connection paths. Paste a WebRTC session description (SDP offer or answer, also as JSON) or ICE candidate lines, for example from chrome://webrtc-internals or a call log. The inspector lists the media sections with direction and codecs, the DTLS fingerprint and setup role, BUNDLE groups and every candidate with its type, protocol and address kind, then says which connection paths exist — same network, through NAT, or through a TURN relay — and warns about what would make a call fail. Part of usefulweb.app (https://usefulweb.app/). Part of [Officeloft](https://officeloft.usefulweb.app/) (ownerApp: officeloft). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://officeloftsdpinspector.usefulweb.app/ (interactive tool at https://officeloftsdpinspector.usefulweb.app/tool) - JSON API: POST https://officeloftsdpinspector.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://officeloftsdpinspector.usefulweb.app/api/v1/tool) - OpenAPI: https://officeloftsdpinspector.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://officeloftsdpinspector.usefulweb.app/mcp - tool `officeloft_sdp_inspector` ## Inputs - sdp (textarea): Session description or candidates - An SDP starting with “v=0”, a {"type","sdp"} JSON object, or one ICE candidate per line. - mask (boolean): Hide the last part of IP addresses - Recommended before you share the result: 198.51.100.23 becomes 198.51.100.x. ## Method - The text is split into SDP lines (type=value). Session-level attributes (fingerprint, setup, ICE credentials) apply to every media section that does not override them; codecs come from the m= line payload list joined with a=rtpmap and a=fmtp. - Candidates follow the grammar of RFC 8839: foundation, component, transport, priority, address, port, typ host/srflx/prflx/relay, and the optional raddr/rport/tcptype. Addresses ending in “.local” are mDNS names that browsers use to hide local IP addresses. - Connection paths: host candidates work on the same network, server-reflexive (srflx) and peer-reflexive (prflx) candidates work through most NAT routers, relay candidates go through a TURN server and also work behind symmetric NAT and strict firewalls (RFC 8445). - Checks: missing DTLS fingerprint or ICE credentials (browsers refuse the description), audio without Opus or video without VP8/H.264 (the codecs every WebRTC browser must support), missing rtcp-mux, several sections without BUNDLE, trickle ICE without candidates, no relay or only host candidates. - ICE passwords are never shown (only their length). With “Hide the last part of IP addresses” the last octet of IPv4 addresses and everything after the second group of IPv6 addresses is replaced. ## Limits - The inspector reads the text you paste; it does not connect to anybody. A description that looks fine can still fail when firewalls block the listed paths.