2.2.3 SQM Session

A SQM session is comprised of a SQM header and zero or more SQM sections within the binary large object (BLOB) as shown in Figure 2. The SQM-enabled client MAY send the SQM header only (for example, to query the A-SQM Manifest version). The total length, in bytes, of the SQM session (the SQM header and SQM sections) MUST equal the HTTP POST body length. All integer fields are encoded using little-endian format.

SQM session binary data stream layout (uncompressed)

Figure 2: SQM session binary data stream layout (uncompressed)

The following figure illustrates the compressed SQM session binary data stream layout.

SQM session binary data stream layout (compressed)

Figure 3: SQM session binary data stream layout (compressed)