X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=config.h;h=e2dcb43050674a9d3d6d54ab5b98cb310739a444;hp=d5b04113303d2cf026a21b823d97e385e02eb540;hb=6889a665614e926437484a556124a5ff60363568;hpb=b08dc2a81825a298a03f2dee2ae7dd7045e72739 diff --git a/config.h b/config.h index d5b0411..e2dcb43 100644 --- a/config.h +++ b/config.h @@ -13,6 +13,7 @@ struct StreamConfig { std::string url; // As seen by the client. std::string src; // Can be empty. size_t backlog_size; + size_t prebuffering_bytes; uint32_t pacing_rate; // In bytes per second. Default is ~0U (no limit). enum { STREAM_ENCODING_RAW = 0, STREAM_ENCODING_METACUBE } encoding; }; @@ -22,6 +23,7 @@ struct UDPStreamConfig { std::string src; // Can be empty. uint32_t pacing_rate; // In bytes per second. Default is ~0U (no limit). int ttl; // Default is -1 (use operating system default). + int multicast_iface_index; // Default is -1 (use operating system default). }; struct AcceptorConfig {