2.2 Message Syntax

The Smooth Streaming Transport Protocol defines five types of messages:

  • Manifest Request (section 2.2.1)

  • Manifest Response (section 2.2.2)

  • Fragment Request (section 2.2.3)

  • Fragment Response (section 2.2.4)

  • Live Ingest Request (section 2.2.7)

The following fields are commonly used across the message set. The syntax of each field is specified in Augmented Backus–Naur Form (ABNF) [RFC5234].

TRUE: A case-insensitive string value for true, for use in XML attributes.

 TRUE = "true"

FALSE: A case-insensitive string value for false, for use in XML attributes.

 FALSE = "false"

STRING-UINT64: An unsigned decimal integer that is less than 2^64, written as a string.

  
 STRING-UINT64 = 1*DIGIT

STRING-UINT32: An unsigned decimal integer that is less than 2^32, written as a string.

  
 STRING-UINT32 = 1*DIGIT

STRING-UINT16: An unsigned decimal integer that is less than 2^16, written as a string.

  
 STRING-UINT16 = 1*DIGIT

STRING-UINT8: An unsigned decimal integer that is less than 2^8, written as a string.

 STRING-UINT8 = 1*DIGIT

S: Whitespace legal inside an XML document, as defined in [XML].

  
 S = 1*( %x20 / %x09 / %x0D / %x0A )

Eq: An equality expression that is used for attributes, as defined in [XML].

  
 Eq = S "=" S

SQ: A single-quote character that contains attributes, as defined in [XML].

  
 SQ = %x27

DQ: A double-quote character that contains attributes, as defined in [XML].

  
 DQ = %x22

URL-SAFE-CHAR: A character that can safely appear in a Uniform Resource Identifier (URI), as specified in [RFC2396].

  
 URL-SAFE-CHAR = <URL-safe character as defined in [RFC2616]>

URL-ENCODED-CHAR: A character that is encoded to safely appear in a URI, as specified in [RFC2396].

  
 URL-ENCODED-CHAR = "%" HEXDIG HEXDIG

HEXCODED-BYTE: A hexadecimal coding of a byte, with the first character for the four high bits and the second character for the four low bits.

  
 HEXCODED-BYTE = HEXDIG HEXDIG

XML-CHARDATA: XML data without elements, as specified by the "CharData" field in [XML].

  
 XML-CHARDATA = <XML character data as defined by CharData in [XML]>

IDENTIFIER: An identifier that is safe for use in data fields.

  
 IDENTIFIER = *URL-SAFE-CHAR

IDENTIFIER-NONNUMERIC: A nonnumeric identifier that is safe for use in data fields.

  
 IDENTIFIER = ALPHA / UNDERSCORE *URL-SAFE-CHAR
 UNDERSCORE = "_"

URISAFE-IDENTIFIER: An identifier that is safe for use in data fields that are part of a URI [RFC2396].

  
 IDENTIFIER = *(URL-SAFE-CHAR / URL-ENCODED-CHAR)

URISAFE-IDENTIFIER-NONNUMERIC: A nonnumeric identifier that is safe for use in data fields that are part of a URI [RFC2396].

  
 IDENTIFIER = ALPHA / UNDERSCORE *(URL-SAFE-CHAR / URL-ENCODED-CHAR)
 UNDERSCORE = "_"