X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=config.h;fp=config.h;h=5a006cad29054c919f2f629917eb88d4c2abb748;hp=e2dcb43050674a9d3d6d54ab5b98cb310739a444;hb=4934a0983fee26765a3c1a5b6bf5834ba6e7e52c;hpb=38a2bb28fd8dcb5bb1e0cb56028936a35f20f503 diff --git a/config.h b/config.h index e2dcb43..5a006ca 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 PingConfig { + 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;