- 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, StreamStartSuitability suitable_for_stream_start);
+
+ // 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);
+
+ // Changes the given stream's output encoding type on all the servers.
+ void set_encoding(int stream_index, Stream::Encoding encoding);
+
+ // Changes the given stream's input encoding type on all the servers.
+ void set_src_encoding(int stream_index, Stream::Encoding encoding);
+
+ // Adds the given gen204 endpoint to all the servers.
+ void add_gen204(const std::string &url, const std::string &allow_origin);