X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.h;h=49f9d51badedd68c02ae2e7436b6807f1eccb060;hp=6b94c0e6d9d9d2dbf98d0c025a77f814585b8d64;hb=6889a665614e926437484a556124a5ff60363568;hpb=102adb2cb186339634590b7ae3e6b1393c72f4c5 diff --git a/server.h b/server.h index 6b94c0e..49f9d51 100644 --- a/server.h +++ b/server.h @@ -53,7 +53,7 @@ public: // at the same time). CubemapStateProto serialize(); void add_client_from_serialized(const ClientProto &client); - int add_stream(const std::string &url, size_t bytes_received, Stream::Encoding encoding); + int add_stream(const std::string &url, size_t bytes_received, size_t prebuffering_bytes, Stream::Encoding encoding); int add_stream_from_serialized(const StreamProto &stream, int data_fd); int lookup_stream_by_url(const std::string &url) const; void set_backlog_size(int stream_index, size_t new_size);