X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=serverpool.h;h=44084bc180e6ebb5466b0e908acd78a3253b2f14;hp=4b56544241afba4883fe899cae308d50707c9b63;hb=8d6d1226ccae5e2f04ccd74f1ceabd88300332fd;hpb=0e96bbf9ee0fbebd5fe3fba4d186c0e0d73c9a32 diff --git a/serverpool.h b/serverpool.h index 4b56544..44084bc 100644 --- a/serverpool.h +++ b/serverpool.h @@ -49,9 +49,15 @@ public: // 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 encoding type on all the servers. void set_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); + // Starts all the servers. void run();