- void set_header(const std::string &stream_id, const std::string &header);
- void add_data(const std::string &stream_id, const char *data, size_t bytes);
+ void set_header(int stream_index,
+ const std::string &http_header,
+ const std::string &stream_header);
+ void add_data(int stream_index, const char *data, size_t bytes, uint16_t metacube_flags);
+
+ // Sets the max pacing rate for all the servers.
+ void set_pacing_rate(int stream_index, uint32_t pacing_rate);
+
+ // Changes the given stream's backlog size on all the servers.
+ void set_backlog_size(int stream_index, size_t new_size);
+
+ // Changes the given stream's amount of forced prebuffering on all the servers.
+ void set_prebuffering_bytes(int stream_index, size_t new_amount);