Tech-
invite
3GPP
specs
Glossaries
IETF
RFCs
Groups
SIP
ABNFs
T
i
+
Search
SIP
SIP URIs
SIP Headers
SIP P‑Headers
SDP
HTTP
Generic URI
IRI
IMF
RTSP
ABNF Notation
ABNF for RTSP 2.0 – Real Time Streaming Protocol –
RFC 7826
(5 of 12)
|
Message Format
|
Status Codes
|
URIs
|
IRIs
|
Basic Rules
|
Headers
|
RTSP/2.0 — Basic Rules
Section 20.1
BACKSLASH
=
%x5C
LWS
=
[
CRLF
] 1*(
SP
/
HTAB
)
; Line-breaking whitespace
SWS
=
[
LWS
]
; Separating whitespace
HCOLON
=
*(
SP
/
HTAB
) "
:
"
SWS
TEXT
=
%x20‑7E / %x80‑FF
; any OCTET except CTLs
tspecials
=
"
(
" / "
)
" / "
<
" / "
>
" / "
@
" / "
,
" / "
;
" / "
:
" /
BACKSLASH
/
DQUOTE
/ "
/
" / "
[
" / "
]
" / "
?
" / "
=
" / "
{
" / "
}
" /
SP
/
HTAB
token
=
1*( %x21 / %x23‑27 / %x2A‑2B / %x2D‑2E / %x30‑39 / %x41‑5A / %x5E‑7A / %x7C / %x7E )
; 1*<any CHAR except CTLs or tspecials>
quoted-string
=
(
DQUOTE
*
qdtext
DQUOTE
)
qdtext
=
%x20‑21 / %x23‑5B / %x5D‑7E /
quoted‑pair
/
UTF8‑NONASCII
; No DQUOTE and no "\"
quoted-pair
=
"
\\
" / ( "
\
"
DQUOTE
)
ctext
=
%x20‑27 / %x2A‑7E / %x80‑FF
; any OCTET except CTLs, "(" and ")"
generic-param
=
token
[
EQUAL
gen‑value
]
gen-value
=
token
/
host
/
quoted‑string
safe
=
"
$
" / "
-
" / "
_
" / "
.
" / "
+
"
extra
=
"
!
" / "
*
" / "
'
" / "
(
" / "
)
" / "
,
"
rtsp-extra
=
"
!
" / "
*
" / "
'
" / "
(
" / "
)
"
HEX
=
DIGIT
/ "
A
" / "
B
" / "
C
" / "
D
" / "
E
" / "
F
" / "
a
" / "
b
" / "
c
" / "
d
" / "
e
" / "
f
"
LHEX
=
DIGIT
/ "
a
" / "
b
" / "
c
" / "
d
" / "
e
" / "
f
"
reserved
=
"
;
" / "
/
" / "
?
" / "
:
" / "
@
" / "
&
" / "
=
"
unreserved
=
ALPHA
/
DIGIT
/
safe
/
extra
rtsp-unreserved
=
ALPHA
/
DIGIT
/
safe
/
rtsp‑extra
base64
=
*
base64‑unit
[
base64‑pad
]
base64-unit
=
4
base64‑char
base64-pad
=
( 2
base64‑char
"
==
" ) / ( 3
base64‑char
"
=
" )
base64-char
=
ALPHA
/
DIGIT
/ "
+
" / "
/
"
SLASH
=
SWS
"
/
"
SWS
EQUAL
=
SWS
"
=
"
SWS
LPAREN
=
SWS
"
(
"
SWS
; left parenthesis
RPAREN
=
SWS
"
)
"
SWS
; right parenthesis
COMMA
=
SWS
"
,
"
SWS
SEMI
=
SWS
"
;
"
SWS
COLON
=
SWS
"
:
"
SWS
MINUS
=
SWS
"
-
"
SWS
LDQUOT
=
SWS
DQUOTE
; open double quotation mark
RDQUOT
=
DQUOTE
SWS
; close double quotation mark
RAQUOT
=
"
>
"
SWS
; right angle quote
LAQUOT
=
SWS
"
<
"
; left angle quote
TEXT-UTF8char
=
%x21‑7E /
UTF8‑NONASCII
UTF8-NONASCII
=
UTF8‑2 / UTF8‑3 / UTF8‑4
; as defined in
RFC 3629
–
Section 4
POS-FLOAT
=
1*12
DIGIT
[ "
.
" 1*9
DIGIT
]
FLOAT
=
[ "
-
" ]
POS-FLOAT