X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=serverpool.h;h=44084bc180e6ebb5466b0e908acd78a3253b2f14;hp=e0c59cd01252cfa0821dd226ddc161daa385db7b;hb=8d6d1226ccae5e2f04ccd74f1ceabd88300332fd;hpb=d72af7eae68766b62560bdb171302bcc44d98ec2 diff --git a/serverpool.h b/serverpool.h index e0c59cd..44084bc 100644 --- a/serverpool.h +++ b/serverpool.h @@ -55,6 +55,9 @@ public: // 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();