X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=serverpool.h;h=6a2fcb53deef177fedd13ba7be99448a48198f48;hp=84a201fb6fb2aea2748cad988e1254fe80e662ac;hb=c2be800fa43dff8a3916d6bafaae0e8507b97560;hpb=8f44468bfe4a1d1607b0ab7044c3071605ae1fa7 diff --git a/serverpool.h b/serverpool.h index 84a201f..6a2fcb5 100644 --- a/serverpool.h +++ b/serverpool.h @@ -7,6 +7,7 @@ #include "server.h" #include "state.pb.h" +#include "stream.h" class MarkPool; class Server; @@ -27,7 +28,7 @@ public: // Adds the given stream to all the servers. void add_stream(const std::string &stream_id, size_t backlog_size, Stream::Encoding encoding); - void add_stream_from_serialized(const StreamProto &stream); + void add_stream_from_serialized(const StreamProto &stream, const std::vector &data_fds); // Adds the given data to all the servers. void set_header(const std::string &stream_id,