| draft-ietf-mmusic-sdp-new-05.txt | draft-ietf-mmusic-sdp-new-06.txt | |||
|---|---|---|---|---|
| Internet Engineering Task Force MMUSIC WG | Internet Engineering Task Force MMUSIC WG | |||
| INTERNET-DRAFT Mark Handley/ACIRI | INTERNET-DRAFT Mark Handley/ACIRI | |||
| draft-ietf-mmusic-sdp-new-05.txt Van Jacobson/Packet Design | draft-ietf-mmusic-sdp-new-06.txt Van Jacobson/Packet Design | |||
| Colin Perkins/ISI | Colin Perkins/ISI | |||
| 8 February 2002 | 27 February 2002 | |||
| Expires: August 2002 | Expires: August 2002 | |||
| SDP: Session Description Protocol | SDP: Session Description Protocol | |||
| Status of this Memo | Status of this Memo | |||
| This document is an Internet-Draft and is in full conformance with all | This document is an Internet-Draft and is in full conformance with all | |||
| provisions of Section 10 of RFC2026. | provisions of Section 10 of RFC2026. | |||
| Internet-Drafts are working documents of the Internet Engineering Task | Internet-Drafts are working documents of the Internet Engineering Task | |||
| skipping to change at page 32, line 10 ¶ | skipping to change at page 32, line 10 ¶ | |||
| administrators will apply their own policies, but the exclusive use of | administrators will apply their own policies, but the exclusive use of | |||
| "local" or "site-local" administrative scope within the firewall and the | "local" or "site-local" administrative scope within the firewall and the | |||
| refusal of the firewall to open a hole for such scopes will provide | refusal of the firewall to open a hole for such scopes will provide | |||
| separation of global multicast sessions from local ones. | separation of global multicast sessions from local ones. | |||
| Appendix A: SDP Grammar | Appendix A: SDP Grammar | |||
| This appendix provides an Augmented BNF grammar for SDP. ABNF is | This appendix provides an Augmented BNF grammar for SDP. ABNF is | |||
| defined in RFC 2234. | defined in RFC 2234. | |||
| ; SDP Syntax | ; SDP Syntax | |||
| announcement = proto-version | announcement = proto-version | |||
| origin-field | origin-field | |||
| session-name-field | session-name-field | |||
| information-field | information-field | |||
| uri-field | uri-field | |||
| email-fields | email-fields | |||
| phone-fields | phone-fields | |||
| connection-field | connection-field | |||
| bandwidth-fields | bandwidth-fields | |||
| time-fields | time-fields | |||
| key-field | key-field | |||
| attribute-fields | attribute-fields | |||
| media-descriptions | media-descriptions | |||
| proto-version = "v=" 1*DIGIT CRLF | proto-version = "v=" 1*DIGIT CRLF | |||
| ;this memo describes version 0 | ;this memo describes version 0 | |||
| origin-field = "o=" username SP sess-id SP sess-version SP | origin-field = "o=" username SP sess-id SP sess-version SP | |||
| nettype SP addrtype SP addr CRLF | nettype SP addrtype SP unicast-address CRLF | |||
| session-name-field = "s=" text CRLF | session-name-field = "s=" text CRLF | |||
| information-field = ["i=" text CRLF] | information-field = ["i=" text CRLF] | |||
| uri-field = ["u=" uri CRLF] | uri-field = ["u=" uri CRLF] | |||
| email-fields = *("e=" email-address CRLF) | email-fields = *("e=" email-address CRLF) | |||
| phone-fields = *("p=" phone-number CRLF) | phone-fields = *("p=" phone-number CRLF) | |||
| connection-field = ["c=" nettype SP addrtype SP | connection-field = ["c=" nettype SP addrtype SP | |||
| connection-address CRLF] | connection-address CRLF] | |||
| ;a connection field must be present | ;a connection field must be present | |||
| ;in every media description or at the | ;in every media description or at the | |||
| ;session-level | ;session-level | |||
| bandwidth-fields = *("b=" bwtype ":" bandwidth CRLF) | bandwidth-fields = *("b=" bwtype ":" bandwidth CRLF) | |||
| time-fields = 1*( "t=" start-time SP stop-time | time-fields = 1*( "t=" start-time SP stop-time | |||
| *(CRLF repeat-fields) CRLF) | *(CRLF repeat-fields) CRLF) | |||
| [zone-adjustments CRLF] | [zone-adjustments CRLF] | |||
| repeat-fields = "r=" repeat-interval SP typed-time | repeat-fields = "r=" repeat-interval SP typed-time | |||
| 1*(SP typed-time) | 1*(SP typed-time) | |||
| zone-adjustments = "z=" time SP ["-"] typed-time | zone-adjustments = "z=" time SP ["-"] typed-time | |||
| *(SP time SP ["-"] typed-time) | *(SP time SP ["-"] typed-time) | |||
| key-field = ["k=" key-type CRLF] | key-field = ["k=" key-type CRLF] | |||
| attribute-fields = *("a=" attribute CRLF) | attribute-fields = *("a=" attribute CRLF) | |||
| media-descriptions = *( media-field | media-descriptions = *( media-field | |||
| information-field | information-field | |||
| *connection-field | *connection-field | |||
| bandwidth-fields | bandwidth-fields | |||
| key-field | key-field | |||
| attribute-fields ) | attribute-fields ) | |||
| media-field = "m=" media SP port ["/" integer] | media-field = "m=" media SP port ["/" integer] | |||
| SP proto 1*(SP fmt) CRLF | SP proto 1*(SP fmt) CRLF | |||
| ; sub-rules of 'o=' | ; sub-rules of 'o=' | |||
| username = non-ws-string | username = non-ws-string | |||
| ;pretty wide definition, but doesn't include space | ;pretty wide definition, but doesn't include space | |||
| sess-id = 1*DIGIT | sess-id = 1*DIGIT | |||
| ;should be unique for this originating username/host | ;should be unique for this originating username/host | |||
| sess-version = 1*DIGIT | sess-version = 1*DIGIT | |||
| ;0 is a new session | ;0 is a new session | |||
| nettype = token | nettype = token | |||
| ;typically "IN" | ;typically "IN" | |||
| addrtype = token | addrtype = token | |||
| ;typically "IP4" or "IP6" | ;typically "IP4" or "IP6" | |||
| ; sub-rules of 'u=' | ; sub-rules of 'u=' | |||
| uri = URI-reference; defined in RFC2396/2732 | uri = URI-reference; defined in RFC1630 and RFC2732 | |||
| ; sub-rules of 'e=' | ; sub-rules of 'e=' | |||
| email-address = email *SP "(" 1*email-safe ")" | | email-address = email *SP "(" 1*email-safe ")" / | |||
| 1*email-safe "<" email ">" | | 1*email-safe "<" email ">" / | |||
| email = addr-spec ; defined in RFC2822 | email = addr-spec ; defined in RFC2822 | |||
| ; modified to remove CFWS | ; modified to remove CFWS | |||
| ; sub-rules of 'p=' | ; sub-rules of 'p=' | |||
| phone-number = phone *SP "(" 1*email-safe ")" | | phone-number = phone *SP "(" 1*email-safe ")" / | |||
| 1*email-safe "<" phone ">" | | 1*email-safe "<" phone ">" / | |||
| phone | phone | |||
| phone = "+" POS-DIGIT 1*(SP | "-" | DIGIT) | phone = "+" POS-DIGIT 1*(SP / "-" / DIGIT) | |||
| ;there must be a space or hyphen between the | ;there must be a space or hyphen between the | |||
| ;international code and the rest of the number. | ;international code and the rest of the number. | |||
| ; Should this use the tel: URL syntax? | ; Should this use the tel: URL syntax? | |||
| ; sub-rules of 'c=' | ; sub-rules of 'c=' | |||
| connection-address = multicast-address | connection-address = multicast-address / unicast-address | |||
| | unicast-address | ; sub-rules of 'b=' | |||
| bwtype = token | ||||
| ; sub-rules of 'b=' | bandwidth = 1*DIGIT | |||
| bwtype = token | ||||
| bandwidth = 1*DIGIT | ; sub-rules of 't=' | |||
| start-time = time / "0" | ||||
| ; sub-rules of 't=' | stop-time = time / "0" | |||
| start-time = time | "0" | ||||
| stop-time = time | "0" | time = POS-DIGIT 9*DIGIT | |||
| ; 10-digit NTP time represents times between | ||||
| ; 1931 and 5068 AD. 9* allows times after that | ||||
| ; as well. | ||||
| time = POS-DIGIT 9*DIGIT | ; sub-rules of 'r=' and 'z=' | |||
| ; 10-digit NTP time represents times between | repeat-interval = typed-time | |||
| ; 1931 and 5068 AD. 9* allows times after that | ||||
| ; as well. | ||||
| ; sub-rules of 'r=' and 'z=' | typed-time = POS-DIGIT *DIGIT [fixed-len-time-unit] | |||
| repeat-interval = typed-time | ||||
| typed-time = POS-DIGIT *DIGIT [fixed-len-time-unit] | fixed-len-time-unit = "d" / "h" / "m" / "s" | |||
| fixed-len-time-unit = "d" | "h" | "m" | "s" | ; sub-rules of 'k=' | |||
| key-type = "prompt" / | ||||
| "clear:" text / | ||||
| "base64:" base64 / | ||||
| "uri:" uri / | ||||
| key-method [ ":" text ] | ||||
| ; sub-rules of 'k=' | base64 = *base64-unit [base64-pad] | |||
| key-type = "prompt" | | base64-unit = 4base64-char | |||
| "clear:" text | | base64-pad = 2base64-char "==" / 3base64-char "=" | |||
| "base64:" base64 | | base64-char = ALPHA / DIGIT / "+" / "/" | |||
| "uri:" uri | | ||||
| key-method [ ":" text ] | ||||
| base64 = *base64-unit [base64-pad] | key-method = token | |||
| base64-unit = 4base64-char | ; sub-rules of 'a=' | |||
| base64-pad = 2base64-char "==" | 3base64-char "=" | attribute = (att-field ":" att-value) / att-field | |||
| base64-char = ALPHA | DIGIT | "+" | "/" | ||||
| key-method = token | att-field = token | |||
| ; sub-rules of 'a=' | ||||
| attribute = (att-field ":" att-value) | att-field | ||||
| att-field = token | att-value = byte-string | |||
| att-value = byte-string | ; sub-rules of 'm=' | |||
| media = token | ||||
| ;typically "audio", "video", "application" | ||||
| ;or "data" | ||||
| ; sub-rules of 'm=' | fmt = token | |||
| media = token | ;typically an RTP payload type for audio | |||
| ;typically "audio", "video", "application" | ;and video media | |||
| ;or "data" | ||||
| fmt = token | proto = token "/" token | |||
| ;typically an RTP payload type for audio | / token | |||
| ;and video media | ;typically "RTP/AVP" or "udp" for IP4 | |||
| proto = token "/" token | port = 1*DIGIT | |||
| | token | ;should in the range "1024" to "65535" inclusive | |||
| ;typically "RTP/AVP" or "udp" for IP4 | ;for UDP based media | |||
| port = 1*DIGIT | ; generic sub-rules: addressing | |||
| ;should in the range "1024" to "65535" inclusive | unicast-address = IP4-address / IP6-address / FQDN / extension-addr | |||
| ;for UDP based media | ||||
| ; generic sub-rules: addressing | multicast-address = IP4-multicast / IP6-multicast | |||
| multicast-address = addr "/" ttl [ "/" integer ] | ||||
| ;IPv4 multicast addresses must be in the range | ||||
| ;224.0.0.0 to 239.255.255.255 | ||||
| ;IPv6 multicast addresses must begin with the byte | ||||
| ;FF or include an IPv4 multicast address | ||||
| unicast-address = addr | IP4-multicast = m1 3*( "." decimal-uchar ) | |||
| ; a unicast address or domain name | "/" ttl [ "/" integer ] | |||
| ; IPv4 multicast addresses may be in the | ||||
| ; range 224.0.0.0 to 239.255.255.255 | ||||
| ttl = (POS-DIGIT *2DIGIT) | "0" | m1 = ("22" ("4"/"5"/"6"/"7"/"8"/"9")) / | |||
| ("23" DIGIT )) | ||||
| addr = IPv4address | IPv6address | FQDN | extension-addr | IP6-multicast = hexpart | |||
| FQDN = *( domainlabel "." ) toplabel | ; IPv6 address starting with FF | |||
| domainlabel = alpha-numeric restoflabel | ttl = (POS-DIGIT *2DIGIT) / "0" | |||
| toplabel = ALPHA restoflabel | FQDN = 4*(alpha-numeric / "-" / ".") | |||
| ; fully qualified domain name as specified | ||||
| ; in RFC1035 | ||||
| restoflabel = *(*("-") alpha-numeric) | IP4-address = b1 3*("." decimal-uchar) / "0.0.0.0" | |||
| extension-addr = non-ws-string | b1 = decimal-uchar | |||
| ; less than "224"; not "0" or "127" | ||||
| ; generic sub-rules: datatypes | ; The following is from RFC2373 Appendix B. It is a direct copy. | |||
| text = byte-string | IP6-address = hexpart [ ":" IP4-address ] | |||
| ;default is to interpret this as IS0-10646 UTF8 | ||||
| ;ISO 8859-1 requires a "a=charset:ISO-8859-1" | ||||
| ;session-level attribute to be used | ||||
| byte-string = 1*(%x01-09|%x0b-0c|%x0e-ff) | hexpart = hexseq / hexseq "::" [ hexseq ] / | |||
| ;any byte except NUL, CR or LF | "::" [ hexseq ] | |||
| non-ws-string = 1*(VCHAR|%x80-ff) | hexseq = hex4 *( ":" hex4) | |||
| ;string of visible US-ASCII, or high-bit, characters | ||||
| token-char = %x21|%x23-27|%x2a-2b|%x2d-2e|%x30-39| | hex4 = 1*4HEXDIG | |||
| %x41-5a|%x5e-7e | ||||
| ; definition from RFC 2045 - | ||||
| ; "any (US-ASCII) CHAR except SPACE, CTLs, | ||||
| ; or tspecials". | ||||
| ; the tspecials are ()<>@,;: | ||||
| token = 1*(token-char) | ; Generic for other address families | |||
| extension-addr = non-ws-string | ||||
| email-safe = 1*(%x01-09|%x0b-0c|%x0e-27| | ; generic sub-rules: datatypes | |||
| %x2a-3b|%x3d|%x3e-ff) | text = byte-string | |||
| ;any byte except NUL, CR, LF, or the quoting | ;default is to interpret this as IS0-10646 UTF8 | |||
| ;characters ()<> | ;ISO 8859-1 requires a "a=charset:ISO-8859-1" | |||
| ;session-level attribute to be used | ||||
| integer = POS-DIGIT *DIGIT | byte-string = 1*(%x01-09/%x0B-0C/%x0E-FF) | |||
| ;any byte except NUL, CR or LF | ||||
| ; generic sub-rules: primitives | non-ws-string = 1*(VCHAR/%x80-FF) | |||
| alpha-numeric = ALPHA | DIGIT | ;string of visible US-ASCII, or high-bit, characters | |||
| POS-DIGIT = %x31-39 ; 1 - 9 | token-char = %x21/%x23-27/%x2A-2B/%x2D-2E/%x30-39/%x41-5A/%x5E-7E | |||
| ; definition from RFC 2045 - | ||||
| ; "any (US-ASCII) CHAR except SPACE, CTLs, | ||||
| ; or tspecials". | ||||
| ; the tspecials are ()<>@,;: | ||||
| ; external references: | token = 1*(token-char) | |||
| ; ALPHA, DIGIT, CRLF, SP, VCHAR: from RFC 2234 | ||||
| ; IPv4address, IPv6address: From RFC 2373 | ||||
| ; URI-reference: from RFC 2396, as modified by RFC 2732 | ||||
| ; addr-spec: from RFC 2822 | ||||
| email-safe = 1*(%x01-09/%x0B-0C/%x0E-27/ | ||||
| %x2A-3B/%x3D/%x3E-FF) | ||||
| ;any byte except NUL, CR, LF, or the quoting | ||||
| ;characters ()<> | ||||
| integer = POS-DIGIT *DIGIT | ||||
| ; generic sub-rules: primitives | ||||
| alpha-numeric = ALPHA / DIGIT | ||||
| POS-DIGIT = %x31-39 ; 1 - 9 | ||||
| ; external references: | ||||
| ; ALPHA, DIGIT, CRLF, SP, VCHAR: from RFC 2234 | ||||
| ; URI-reference: from RFC1630 and RFC2732 | ||||
| ; addr-spec: from RFC 2822 | ||||
| Appendix B: Guidelines for registering SDP names with IANA | Appendix B: Guidelines for registering SDP names with IANA | |||
| There are seven field names that may be registered with IANA. Using the | There are seven field names that may be registered with IANA. Using the | |||
| terminology in the SDP specification BNF, they are "media", "proto", | terminology in the SDP specification BNF, they are "media", "proto", | |||
| "fmt", "att-field", "bwtype", "nettype" and "addrtype". | "fmt", "att-field", "bwtype", "nettype" and "addrtype". | |||
| "media" (eg, audio, video, application, data). | "media" (eg, audio, video, application, data). | |||
| The set of media is intended to be small and not to be extended | The set of media is intended to be small and not to be extended | |||
| except under rare circumstances. The same rules should apply for | except under rare circumstances. The same rules should apply for | |||
| End of changes. 66 change blocks. | ||||
| 164 lines changed or deleted | 176 lines changed or added | |||
This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||