X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=config.h;h=9a5cc571f50a6868623a88370d6a39afa9c0f777;hb=refs%2Ftags%2F1.2.1;hp=e2dcb43050674a9d3d6d54ab5b98cb310739a444;hpb=6889a665614e926437484a556124a5ff60363568;p=cubemap diff --git a/config.h b/config.h index e2dcb43..9a5cc57 100644 --- a/config.h +++ b/config.h @@ -26,6 +26,11 @@ struct UDPStreamConfig { int multicast_iface_index; // Default is -1 (use operating system default). }; +struct Gen204Config { + std::string url; // As seen by the client. + std::string allow_origin; // Can be empty. +}; + struct AcceptorConfig { sockaddr_in6 addr; }; @@ -40,6 +45,7 @@ struct Config { int num_servers; std::vector streams; std::vector udpstreams; + std::vector pings; std::vector acceptors; std::vector log_destinations;