Module values

Module values 

Source
Expand description

§Definitions of the data structures of CMCD

The primary data types are

The Value enum is used to hold the data of custom keys.

All other types are Errors returned by the respective parsing functions.

Structs§

InvalidObjectType
Error returned when parsing ObjectType from a string.
InvalidStreamType
Error returned when parsing StreamType from a string.
InvalidStreamingFormat
Error returned when parsing StreamingFormat from a string.
Object
An CMCD-Object Header contains keys whose values vary with the object being requested.
Request
An CMCD-Request Header contains keys whose values vary with each request.
RequestRange
Describes the Byte Range of the next request.
Session
An CMCD-Session Header contains keys whose values are expected to be invariant over the life of the session.
Status
An CMCD-Status Header contains keys whose values do not vary with every request or object.

Enums§

ObjectError
Error returned when parsing CMCD-Object header fails.
ObjectType
Encapsulates the media type of the current object being requested.
RequestError
Error returned when parsing CMCD-Request header fails.
RequestRangeParseError
Error returned when parsing RequestRange from a string.
SessionError
Error returned when parsing CMCD-Session header fails.
StatusError
Error returned when parsing CMCD-Status header fails.
StreamType
Encapsulates the type of the stream.
StreamingFormat
Defines the streaming format of the current request.
Value
Container of Custom Values