[OpenSIPS-Users] Development & SDP header

andrei dragus andreidragus at yahoo.com
Fri Sep 4 15:25:29 CEST 2009


Hi,

Well an SDP header can contain multiple sessions and each session can contain multiple streams ( video,voice, etc).

Example of an SDP containing a single session called "SDP Seminar" and containing 3 media streams ( # are comments, they are not in the RFC ).

        v=0
        o=mhandley 2890844526 2890842807 IN IP4 126.16.64.4
        s=SDP Seminar  # session name
        i=A Seminar on the session description protocol
        u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
        e=mjh at isi.edu (Mark Handley)
        c=IN IP4 224.2.17.12/127

        t=2873397496 2873404696
        a=recvonly
        m=audio 49170 RTP/AVP 0    #first media called audio
        m=video 51372 RTP/AVP 31   #second media called video
        m=application 32416 udp wb #third media called application 
        a=orient:portrait

If you know which session you want to look at you can use the session name,
and each stream has a name but in general it is quite difficult to distinguish amongst them.




More information about the Users mailing list