+struct StreamConfig {
+ std::string url; // As seen by the client.
+ std::string src; // Can be empty.
+ size_t backlog_size;
+ size_t prebuffering_bytes;
+ uint32_t pacing_rate; // In bytes per second. Default is ~0U (no limit).
+ enum { STREAM_ENCODING_RAW = 0, STREAM_ENCODING_METACUBE } encoding;