Sagar, Think of it like declarations in nested scopes in a programming language.
The outer (session level) scope applies except where overridden by a redeclaration in an inner (media level) scope. This applies to a lot, but not all, attributes. (The ones that may be used at "both" session and media level. IMO it *ought* to apply to them all, but that is another story.) It also applies to c=. Thanks, Paul sagar sheth wrote: > Hello Friends, > > I have query regarding the usage of "a=" attribute at session and media > level. Anything above m line in SDP is considered in session and below m > line is considered as media. > "a" which defines the direction of the stream can be used in media and > session. So my questions are > >>> What is difference/advantage of using "a" in media over session? > Is it if more than media stream is present, its direction can be > treated Independently? > > >>Also What if "a" is present at both media & session level? > > Thanks! > Sagar > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors