]> git.sesse.net Git - cubemap/blobdiff - state.proto
Add support for forced prebuffering.
[cubemap] / state.proto
index cd172535ad315a484f3459d9a932a25f396be2a1..e612831e1179df8298d0703adfa5479a35ad2903 100644 (file)
@@ -19,17 +19,11 @@ message StreamProto {
        optional bytes http_header = 6;
        optional bytes stream_header = 7;
        repeated int32 data_fds = 8;
-       optional int64 backlog_size = 5 [default=1048576];
+       optional int64 backlog_size = 5 [default=10485760];
+       optional int64 prebuffering_bytes = 10 [default=0];
        optional int64 bytes_received = 3;
        optional int64 last_suitable_starting_point = 9;
        optional string url = 4;
-
-       // Older versions stored the HTTP and video headers together in this field.
-       optional bytes header = 1;
-
-       // Older versions stored the data in the protobuf instead of sending file
-       // descriptors around.
-       optional bytes data = 2;
 };
 
 // Corresponds to class Input.