#include <chunk.h>
Data Fields | |
int | id |
int | size |
uint8_t * | data |
uint64_t | timestamp |
void * | attributes |
int | attributes_size |
Structure describing a chunk. This is part of the public API
void* chunk::attributes |
Pointer to an opaque structure containing some system-dependent (or scheduler-dependent) data: for example, it can contain some information from the video header, the ``chunk importance'' (in case of media awareness and/or if layered encoding is used), the scheduling deadline of the chunk, and so on...
Size of the attributes, in byte.
uint8_t* chunk::data |
Pointer to a buffer containing the chunk payload.
int chunk::id |
Chunk ID. Should be unique in a stream, and is generally an integer used as a sequence number.
int chunk::size |
Size of the data, in byte.
uint64_t chunk::timestamp |
Chunk timestamp (can be the timestamp of the first frame in the chunk, the chunk generation time, or something else).