X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=serverpool.h;h=253636a64c1de876b83fa051a97a1a12ff81cece;hp=9cac26e47133f270e91c040afa3091420433f387;hb=7ec54788f88dde7b083ba6cfd30732b32295b54a;hpb=980ac162414c9fce62af4fdb9cfc282865b31572 diff --git a/serverpool.h b/serverpool.h index 9cac26e..253636a 100644 --- a/serverpool.h +++ b/serverpool.h @@ -55,6 +55,9 @@ public: const std::string &stream_header); void add_data(int stream_index, const char *data, size_t bytes, uint16_t metacube_flags, const RationalPTS &pts); + // Sets the given stream as unavailable on all the servers. + void set_unavailable(int stream_index); + // Sets the max pacing rate for all the servers. void set_pacing_rate(int stream_index, uint32_t pacing_rate);