Which instructions apply to the whole call?
02A session can give a shared default address. A media section can replace that default for its own stream.
Follow these objects, then change one choice below.
A shared instruction can cover the session
A media section can provide its own address instead.
Each section has its own boundary
An override for sound does not silently become a video instruction.
What happens if you change this?
Change one choice and see its effect. Restart restores the original example.
A video-level connection field supplies its own address.
Key idea: A media override belongs to its own section; other streams still use their own defaults.
Terms
- Session scope
- Information applying across the session, subject to the field or attribute’s media-level rules.
- Media scope
- Information applying within the m= section in which it appears, until the next media section.
Rules & examples
A media override belongs to its own section; other streams still use their own defaults.
- A media description begins with m=.
- A session-level c= can provide a default connection address.
- A media-level c= overrides that default for its media description.
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 0 | c=IN IP4 192.0.2.20 | m=video 51372 RTP/AVP 31. Address A=192.0.2.10, B=192.0.2.20, C=192.0.2.30. Audio port 49170, video 51372. The chosen unicast c= fields resolve to 192.0.2.20, 192.0.2.10. Session c= supplies the default; media-level c= replaces it for that media. Every active media must have applicable connection information. The parser models one address per scope; multicast, multiple connection lines and general SDP grammar are outside this fixture.
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 0
c=IN IP4 192.0.2.20
m=video 51372 RTP/AVP 31
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.