X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=config.h;h=60531486ea94e91cf82740bc9fe9293110f836e6;hp=f06b9c56ef819cb1aaa7228dca1f5f5179fda680;hb=5cc8cd703a637e276c2595953878fd9561592bfa;hpb=b9d939606ebaf69e2c5a5d8b3e2d8e9adc0e69ae diff --git a/config.h b/config.h index f06b9c5..6053148 100644 --- a/config.h +++ b/config.h @@ -9,15 +9,10 @@ #include #include -struct MarkPoolConfig { - int from, to; -}; - struct StreamConfig { std::string url; // As seen by the client. std::string src; // Can be empty. size_t backlog_size; - int mark_pool; // -1 for none. uint32_t pacing_rate; // In bytes per second. Default is ~0U (no limit). enum { STREAM_ENCODING_RAW = 0, STREAM_ENCODING_METACUBE } encoding; }; @@ -25,7 +20,6 @@ struct StreamConfig { struct UDPStreamConfig { sockaddr_in6 dst; std::string src; // Can be empty. - int mark_pool; // -1 for none. uint32_t pacing_rate; // In bytes per second. Default is ~0U (no limit). }; @@ -41,7 +35,6 @@ struct LogConfig { struct Config { bool daemonize; int num_servers; - std::vector mark_pools; std::vector streams; std::vector udpstreams; std::vector acceptors;