]> git.sesse.net Git - cubemap/blobdiff - stream.h
Add a listen statement to listen on only specific IP addresses, in addition to the...
[cubemap] / stream.h
index 2cdba11ad46b48a1d07801dccd7821efa11568ce..d29b9246a06f76a776385bad4290f69b6cb171be 100644 (file)
--- a/stream.h
+++ b/stream.h
@@ -84,6 +84,9 @@ struct Stream {
        // What pool to fetch marks from, or NULL.
        MarkPool *mark_pool;
 
+       // Maximum pacing rate for the stream.
+       int pacing_rate;
+
        // Queued data, if any. Protected by <queued_data_mutex>.
        // The data pointers in the iovec are owned by us.
        std::vector<iovec> queued_data;