+ // Changes the given stream's input encoding type on all the servers.
+ void set_src_encoding(int stream_index, Stream::Encoding encoding);
+
+ // Changes the given stream's maximum HLS fragment duration (in seconds) on all the servers.
+ void set_hls_frag_duration(int stream_index, unsigned hls_frag_duration);
+
+ // Changes the given stream's backlog margin for HLS fragments (in bytes) on all the servers.
+ void set_hls_backlog_margin(int stream_index, size_t hls_backlog_margin);
+
+ // Changes the given stream's CORS header on all the servers.
+ void set_allow_origin(int stream_index, const std::string &allow_origin);
+
+ // Register the given stream under the given URL on all the servers.
+ // Used only for deserialized streams (for new ones, we do this registration
+ // in add_stream()).
+ void register_hls_url(int stream_index, const std::string &hls_url);
+
+ // Adds the given gen204 endpoint to all the servers.
+ void add_gen204(const std::string &url, const std::string &allow_origin);
+
+ // Prepares all the servers for accepting TLS connections from the given acceptor.
+ // (They need a private context, since the contexts are not definde to be thread-safe.)
+ void create_tls_context_for_acceptor(const Acceptor *acceptor);
+