What do the sound line and format label mean?
03A media line names a kind of media, a transport endpoint and format labels. A dynamic format number needs its agreed meaning.
Follow these objects, then change one choice below.
The sound line names an endpoint
A port is a numbered transport endpoint, drawn elsewhere as a door.
A format label needs a meaning
A dynamic format number is not a universal codec name.
What happens if you change this?
Change one choice and see its effect. Restart restores the original example.
Read the media and attributes as one description.
Key idea: A media line describes an endpoint and format; its labels still need their applicable meanings.
Terms
- m= line
- Names media type, port, transport protocol/profile and format identifiers.
- rtpmap
- Maps an RTP payload type to an encoding name, clock rate and applicable parameters.
- Codec
- A scheme for encoding and decoding media. A dynamic payload-type number is a local mapping, not an inherent codec name.
Rules & examples
A media line describes an endpoint and format; its labels still need their applicable meanings.
- An RTP format number is interpreted with the applicable profile and payload mappings.
- An rtpmap attribute can map a dynamic payload type to an encoding and clock rate.
- These declarations do not themselves send media.
The illustration is schematic. Example values are illustrative; profiles and later security guidance can add requirements.
Fixture lines: v=0 | o=lea 1 1 IN IP4 192.0.2.10 | s=Friendly call | c=IN IP4 192.0.2.10 | t=0 0 | m=audio 49170 RTP/AVP 96 | a=rtpmap:96 PCMU/8000. Dynamic PT 96 is mapped by a=rtpmap:96 PCMU/8000 in the mapped case; the UI calls it the named sound encoding without requiring codec vocabulary. Port 0 disables this media. RTP/SAVP requests the secure RTP profile but is not itself a cipher/key handshake. This is a bounded interpretation of RTP media descriptions, not a complete codec negotiation or RTP profile parser. An m= line may be structurally readable while a dynamic encoding meaning is unavailable; do not infer it from 96 alone.
v=0
o=lea 1 1 IN IP4 192.0.2.10
s=Friendly call
c=IN IP4 192.0.2.10
t=0 0
m=audio 49170 RTP/AVP 96
a=rtpmap:96 PCMU/8000
Sources
New to this? Start hereA quick picture + helpful background
Finding a route and sending media are separate jobs.
Some messages set up a conversation or discover a reachable address. Other packets carry the audio or video. Follow those jobs separately.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.