Learn / Field guide

SDP: describing a call's audio

SDP rides inside SIP messages and says where to send the audio and which codecs each side can use. A wrong address in SDP is a classic cause of one-way audio.

9 SDP fields, explained

Field names are the ones Wireshark and TShark use, so you can search for them or use them in display filters.

sdp

The Session Description Protocol body: the audio formats, address, and port each side wants to use.

sdp.version

The SDP version, always 0.

sdp.owner

Who created the session description, with a session ID and version.

sdp.session_name

A name for the session. Often just "-" or the app name.

sdp.connection_info

The IP address the audio should be sent to.

Why it matters: If this is a private address and the call crosses NAT, the audio often goes one way only.

sdp.time

When the session is active. 0 0 means always.

sdp.media

The media line: audio, the port to send it to, and the codecs offered.

sdp.media_attr

Extra media settings, such as codec names and send/receive direction.

sdp.media.format

An audio format (codec) offered for the call, by payload type number.