![]() |
MHEG5
22.11.0
|
IC Streamer http header parser. More...
Go to the source code of this file.
Classes | |
struct | S_ICSPidInfo |
struct | S_ICSKeys |
Functions | |
void | MHEG5parseStreamKeys (U8BIT *data, U16BIT len, S_ICSKeys *keys) |
Parse IC stream keys. These keys are delivered in the HTTP headers or in a separate file. More... | |
void | MHEG5ParseXKeys (U8BIT *data, U32BIT len, S_ICSKeys *keys) |
Parse "X-Keys" header and return the key information. If the keys cannot be parsed, keys->num_pids will be zero. More... | |
void | MHEG5ParseXKeyLocation (U8BIT *data, U32BIT len, MHEG5String *keyLocation) |
Parse "X-KeyLocation" header and return the key location. More... | |
void | MHEG5ParseXBytesPerSecond (U8BIT *data, U32BIT len, U32BIT *bytesPerSecond, BOOLEAN *knownBitrate) |
Parse "X-BytesPerSecond" header and return its value. More... | |
IC Streamer http header parser.
void MHEG5parseStreamKeys | ( | U8BIT * | data, |
U16BIT | len, | ||
S_ICSKeys * | keys | ||
) |
Parse IC stream keys. These keys are delivered in the HTTP headers or in a separate file.
data | Buffer data to parse |
len | Length of data in bytes |
keys | Parsed stream keys |
void MHEG5ParseXBytesPerSecond | ( | U8BIT * | data, |
U32BIT | len, | ||
U32BIT * | bytesPerSecond, | ||
BOOLEAN * | knownBitrate | ||
) |
Parse "X-BytesPerSecond" header and return its value.
data | Beginning of field data in header |
len | Size of header data in bytes |
bytesPerSecond | Bytes per second |
knownBitrate | Whether bitrate is known (i.e. field was parsed) |
void MHEG5ParseXKeyLocation | ( | U8BIT * | data, |
U32BIT | len, | ||
MHEG5String * | keyLocation | ||
) |
Parse "X-KeyLocation" header and return the key location.
data | Beginning of field data in header |
len | Size of header data in bytes |
keyLocation | Key location |
void MHEG5ParseXKeys | ( | U8BIT * | data, |
U32BIT | len, | ||
S_ICSKeys * | keys | ||
) |
Parse "X-Keys" header and return the key information. If the keys cannot be parsed, keys->num_pids will be zero.
data | Beginning of field data in header |
len | Size of header data in bytes |
keys | Keys information |