X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=serverpool.h;h=cc37e1700d13c59df7a251103a996a492dc00410;hp=4b56544241afba4883fe899cae308d50707c9b63;hb=4934a0983fee26765a3c1a5b6bf5834ba6e7e52c;hpb=6889a665614e926437484a556124a5ff60363568 diff --git a/serverpool.h b/serverpool.h index 4b56544..cc37e17 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 ping endpoint to all the servers. + void add_ping(const std::string &url, const std::string &allow_origin); + // Starts all the servers. void run();