Refer to streams internally mostly by an index, not the stream_id.
[cubemap] / stream.h
index 33fb55e..d762869 100644 (file)
--- a/stream.h
+++ b/stream.h
@@ -29,7 +29,7 @@ struct Stream {
        // Changes the backlog size, restructuring the data as needed.
        void set_backlog_size(size_t new_size);
 
-       std::string stream_id;
+       std::string url;
 
        // The HTTP response header, without the trailing double newline.
        std::string http_header;