X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.h;h=2d227b6e1797ec331c7a6e966ec412d5f6c7a79b;hp=94fdb67e735e996c46f8c0472f570366bd97a556;hb=40ed7df894c8645c132a5bea2bfb12a9be2b82ef;hpb=ae994771c0747d43bd1ed422224f4caacb95ca9f diff --git a/server.h b/server.h index 94fdb67..2d227b6 100644 --- a/server.h +++ b/server.h @@ -53,6 +53,7 @@ public: void add_client_from_serialized(const ClientProto &client); void add_stream(const std::string &stream_id, size_t bytes_received); void add_stream_from_serialized(const StreamProto &stream); + void set_backlog_size(const std::string &stream_id, size_t new_size); private: // Mutex protecting queued_data only. Note that if you want to hold both this