Session Description Protocol

Session Description Protocol (SDP) is a format for describing streaming media initialization parameters. The IETF published the original specification as an IETF Proposed Standard in April, 1998[1], and subsequently published a revised specification as an IETF Proposed Standard as RFC 4566 in July, 2006.[2]

SDP is intended for describing multimedia communication sessions for the purposes of session announcement, session invitation, and other forms of multimedia session initiation. SDP does not provide the content of the media form itself but simply provides a negotiation between two end points to allow them to agree on a media type and format. This allows SDP to support upcoming media types and formats, enabling systems based on this technology to be forward compatible.

SDP started off as a component of the Session Announcement Protocol (SAP), but found other uses in conjunction with RTP, RTSP, SIP and just as a standalone format for describing multicast sessions.

There are five terms related to SDP:

Conference: It is a set of two or more communicating users along with the software they are using.
Session : Session is the multimedia sender and receiver and the flowing stream of data.
Session Announcement: A session announcement is a mechanism by which a session description is conveyed to users in a proactive fashion, i.e., the session description was not explicitly requested by the user.
Session Advertisement : same as session announcement
Session Description : A well defined format for conveying sufficient information to discover and participate in a multimedia session.

Below is a list of the syntax of SDP, please note that this list may not be exhaustive and new attributes are added to the RFC regularly[1]

     Session description
        v=  (protocol version)
        o=  (originator and session identifier)
        s=  (session name)
        i=* (session information)
        u=* (URI of description)
        e=* (email address)
        p=* (phone number)
        c=* (connection information -- not required if included in
             all media)
        b=* (zero or more bandwidth information lines)
        One or more time descriptions ("t=" and "r=" lines; see below)
        z=* (time zone adjustments)
        k=* (encryption key)
        a=* (zero or more session attribute lines)
        Zero or more media descriptions
     Time description
        t=  (time the session is active)
        r=* (zero or more repeat times)
     Media description, if present
        m=  (media name and transport address)
        i=* (media title)
        c=* (connection information -- optional if included at
             session level)
        b=* (zero or more bandwidth information lines)
        k=* (encryption key)
        a=* (zero or more media attribute lines)

References
Handley, Mark; Van Jacobson, Colin Perkins (2006-07). SDP: Session Description Protocol (RFC 4566). IETF. Retrieved on 2008-04-19.
http://tools.ietf.org/html/rfc4566

你可能感兴趣的:(html,C++,c,C#)