X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=client.h;h=f2bd7fb54bc4e73ae0cbb174d6ba8ddea10eec2a;hb=20e85bd6901355cc40a6cfb4c0deb7232d9aa63f;hp=8f9f682e268e291935278f91cedda3257dc1bae5;hpb=061988af511f42da3cd584b4d983177504ddc177;p=cubemap diff --git a/client.h b/client.h index 8f9f682..f2bd7fb 100644 --- a/client.h +++ b/client.h @@ -62,6 +62,9 @@ struct Client { std::string url; Stream *stream = nullptr; + // If true, we don't actually serve the stream, but its HLS playlist. + bool serving_hls_playlist = false; + // Whether we should close the connection after sending the response. // Not relevant for READING_REQUEST. Must be true if http_11 is false. bool close_after_response;